I want to show a form but I want this form to be the lowest z-level window
(like it was the desktop window)
How can I do it? any idea?
thanx in advance
Gambit
"lenox" <le...@ono.com> wrote in message news:3d0fc8c8_2@dnews...
I have this little C program in my Quick Launch Bar and it alternately
hides and shows all the icons on the desktop (to show the wallpaper).
Perhaps it may be of some use.
#include <windows.h>
int STDCALL
WinMain (HINSTANCE hInst, HINSTANCE hPrev, LPSTR lpCmd, int nShow)
{
HWND deskwin = FindWindow("Progman", "Program Manager");
if (deskwin)
{
ShowWindow(deskwin,IsWindowVisible(deskwin)? SW_HIDE : SW_SHOW);
}
return 0;
}
Bye.