Showing Desktop SW_DEFAULT
Hi.
I have a little problem with finding the Desktop (as window). There is certain game that you cannot press Alt + Tab to get out of it so I made a simple program that you can but(!!!) if I Force the game to minimize (SW_FORCEMINIMIZE) then you would see your Desktop but the thing is the Desktop is much larger then normal (probably have something to do with the game resolution) so I thought showing the Desktop as Default but I don't know how to find the Desktop as window, do you know a way to do that? Thanks, Yuri.
This doesn't work because he cannot find the window (used WinSpy for the Caption)
PHP Code:
if ( ! hwnd = FindWindow ( 0, "FolderView" ) )
Beep ( 1000, 1000 );
else
ShowWindow ( hwnd, SW_DEFAULT );
Yes it beeps, :(, why isn't "FolderView" correct?