Click here to Skip to main content
15,895,606 members
Home / Discussions / ATL / WTL / STL
   

ATL / WTL / STL

 
GeneralRe: Subclassing templates Pin
toxcct2-Feb-06 3:07
toxcct2-Feb-06 3:07 
GeneralRe: Subclassing templates Pin
softwaremonkey2-Feb-06 3:15
softwaremonkey2-Feb-06 3:15 
QuestionSTL conflict Pin
eddyroth31-Jan-06 20:06
eddyroth31-Jan-06 20:06 
Questionrelated to thunderbird extension Pin
baldha rakesh31-Jan-06 18:54
baldha rakesh31-Jan-06 18:54 
AnswerRe: related to thunderbird extension Pin
Douglas Troy3-Feb-06 6:03
Douglas Troy3-Feb-06 6:03 
Questionerror C2976 Aaaaaaahhh Help Pin
Swinefeaster31-Jan-06 11:57
Swinefeaster31-Jan-06 11:57 
AnswerRe: error C2976 Aaaaaaahhh Help Pin
Member 6814614-Jan-09 20:48
Member 6814614-Jan-09 20:48 
QuestionChecking whether the workstation is locked. Pin
Emilio Guijarro27-Jan-06 4:51
Emilio Guijarro27-Jan-06 4:51 
Hi folks,

I need my application to act in a different way when the workstation is locked, but I can't find any windows API to check this. I´ve found the following comment under the "LockWorkstation" function at MSDN:

"There is no function you can call to determine whether the workstation is locked. To verify whether it is worth attempting to update your user interface, you can test whether or not your window is visible. This also has the advantage of identifying when the user cannot see your user interface because it is obscured by another window, minimized, or offscreen."

Unfortunately, it doesn't work Mad | :mad: : I tried this calling the IsWindowVisible() method of CWindow (WTL) but it always return TRUE (window visible) even when workstation is locked Sniff | :^) .

I'll appreciate comments and suggestions.
Thanks in advace.

"When I look into your eyes, there´s nothing there to see, nothing but my own mistakes staring back at me"
AnswerRe: Checking whether the workstation is locked. Pin
Douglas Troy3-Feb-06 6:06
Douglas Troy3-Feb-06 6:06 
QuestionAnd Add-in for MS Outlook Pin
hybride25-Jan-06 23:41
hybride25-Jan-06 23:41 
AnswerRe: And Add-in for MS Outlook Pin
Igor Vigdorchik27-Jan-06 16:12
Igor Vigdorchik27-Jan-06 16:12 
AnswerRe: And Add-in for MS Outlook Pin
hybride29-Jan-06 20:11
hybride29-Jan-06 20:11 
AnswerRe: And Add-in for MS Outlook Pin
_AnsHUMAN_ 7-Feb-06 19:48
_AnsHUMAN_ 7-Feb-06 19:48 
AnswerRe: And Add-in for MS Outlook Pin
Ganesh_T16-Feb-06 23:16
Ganesh_T16-Feb-06 23:16 
AnswerRe: And Add-in for MS Outlook Pin
hybride17-Feb-06 0:19
hybride17-Feb-06 0:19 
GeneralRe: And Add-in for MS Outlook Pin
toxcct17-Feb-06 0:40
toxcct17-Feb-06 0:40 
AnswerRe: And Add-in for MS Outlook Pin
hybride17-Feb-06 1:08
hybride17-Feb-06 1:08 
QuestionAdd-in for MS Outlook Pin
hybride25-Jan-06 22:39
hybride25-Jan-06 22:39 
AnswerRe: Add-in for MS Outlook Pin
Ganesh_T16-Feb-06 23:18
Ganesh_T16-Feb-06 23:18 
AnswerRe: Add-in for MS Outlook Pin
hybride17-Feb-06 1:11
hybride17-Feb-06 1:11 
AnswerRe: Add-in for MS Outlook Pin
el_barri25-Sep-08 22:50
el_barri25-Sep-08 22:50 
QuestionEmbedding controls in Excel Pin
frogstomp25-Jan-06 0:13
frogstomp25-Jan-06 0:13 
QuestionHow to create a visual studio'ish prop ctrl? Pin
ioctl5124-Jan-06 2:55
ioctl5124-Jan-06 2:55 
QuestionATL COM with IIS6 Pin
MaX B.24-Jan-06 0:15
MaX B.24-Jan-06 0:15 
AnswerRe: ATL COM with IIS6 Pin
Michael Dunn24-Jan-06 7:23
sitebuilderMichael Dunn24-Jan-06 7:23 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.