Click here to Skip to main content
15,891,621 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Debug assertion failed Pin
David Crow25-Jul-05 6:32
David Crow25-Jul-05 6:32 
GeneralRe: Debug assertion failed Pin
Bruce Pataki25-Jul-05 7:11
Bruce Pataki25-Jul-05 7:11 
GeneralRe: Debug assertion failed Pin
David Crow25-Jul-05 7:36
David Crow25-Jul-05 7:36 
GeneralRe: Debug assertion failed Pin
Trollslayer25-Jul-05 7:07
mentorTrollslayer25-Jul-05 7:07 
Generali dont know Pin
Halawlaws25-Jul-05 6:01
Halawlaws25-Jul-05 6:01 
GeneralRe: i dont know Pin
David Crow25-Jul-05 6:30
David Crow25-Jul-05 6:30 
GeneralRe: i dont know Pin
Halawlaws25-Jul-05 6:32
Halawlaws25-Jul-05 6:32 
GeneralGetInputDesktop Pin
sarah carlson25-Jul-05 5:42
sarah carlson25-Jul-05 5:42 
I am trying to figure out if the current desktop is the desktop that my interactive service is running on, and I came across the GetInputDesktop function exported by user32.dll. It appears to always return 0 if either the login screen or screen saver or a fast user switching terminal services desktop is active. So, I simply compare the returned HDESK value of that to the value returned by GetThreadDesktop and I have my answer. But since GetInputDesktop is undocumented, I'm wondering if there is another way to get at this information, or if anyone knows anything more specific about the GetInputDesktop function.

Thanks much.

sarah
GeneralRe: GetInputDesktop Pin
David Crow25-Jul-05 7:45
David Crow25-Jul-05 7:45 
GeneralRe: GetInputDesktop Pin
sarah carlson25-Jul-05 7:54
sarah carlson25-Jul-05 7:54 
GeneralRe: GetInputDesktop Pin
David Crow25-Jul-05 7:58
David Crow25-Jul-05 7:58 
GeneralRe: GetInputDesktop Pin
Jose Lamas Rios25-Jul-05 16:15
Jose Lamas Rios25-Jul-05 16:15 
GeneralWindow focus Pin
Halawlaws25-Jul-05 5:22
Halawlaws25-Jul-05 5:22 
GeneralRe: Window focus Pin
David Crow25-Jul-05 5:31
David Crow25-Jul-05 5:31 
GeneralRe: Window focus Pin
Halawlaws25-Jul-05 5:33
Halawlaws25-Jul-05 5:33 
GeneralRe: Window focus Pin
toxcct25-Jul-05 5:41
toxcct25-Jul-05 5:41 
GeneralRe: Window focus Pin
Halawlaws25-Jul-05 5:49
Halawlaws25-Jul-05 5:49 
GeneralRe: Window focus Pin
toxcct25-Jul-05 5:50
toxcct25-Jul-05 5:50 
GeneralRe: Window focus Pin
Halawlaws25-Jul-05 5:51
Halawlaws25-Jul-05 5:51 
GeneralRe: Window focus Pin
toxcct25-Jul-05 5:54
toxcct25-Jul-05 5:54 
GeneralRe: Window focus Pin
Halawlaws25-Jul-05 5:56
Halawlaws25-Jul-05 5:56 
GeneralRe: Window focus Pin
Halawlaws25-Jul-05 6:06
Halawlaws25-Jul-05 6:06 
GeneralRe: Window focus Pin
David Crow25-Jul-05 6:27
David Crow25-Jul-05 6:27 
GeneralRe: Window focus Pin
Trollslayer25-Jul-05 7:11
mentorTrollslayer25-Jul-05 7:11 
GeneralRe: Window focus Pin
David Crow25-Jul-05 7:32
David Crow25-Jul-05 7:32 

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.