Posted By: ElucidWeb | Jun 10th, 2006 @ 11:29 PM
page 1 of 1
Comments: 7 | Views: 5411
Related to this post.

Ok so I have been searching MSDN for a bit now and cant seem to locate the API that creates the darkened desktop.  In vista it occurs when you do the Windows+Tab or Secure Desktop.  In any case I would like to find this API, I have tried common search phrases but not really sure what to search for in this context.

Any help would be great 9ers! Thanks!
ZippyV
ZippyV
Fired Up
Why does your application need to do that?
amotif
amotif
No Silver Bullet
ElucidWeb wrote:
Why does everyone always ask why an application has to do something rather than just helping to give an answer?



Many years of experience show that when someone comes into my office asking how to do some obscure thing merely asking "Why?" often sends us down a different path altogether.

I find it likely others have had this experience--and that the related post you mention didn't say as much about what you were trying to do.
My understanding is that the greyed-out desktop is created by created a private Windows session and using a screen capture of the user's desktop as the background. I don't know the particulars of how to do it, but maybe that provides some direction.

(BTW, I was assuming that you're talking about what you see when you log out on XP or see a UAC prompt in Vista. Otherwise I'm haven't a clue.)
At a guess, just opening a maximized, completely black window with 50% transparency should do the trick. I don't think there is an actual API call to do it.
page 1 of 1
Comments: 7 | Views: 5411
Microsoft Communities