how can i hide and show only the windows that are on screen and in the systray on command other then the desktop.
Printable View
how can i hide and show only the windows that are on screen and in the systray on command other then the desktop.
try this,
BOOL ShowWindow(
HWND hWnd,
int nCmdShow
);
SW_FORCEMINIMIZE - Windows NT 5.0 and later: Minimizes a window, even if the thread that owns the window is hung. This flag should only be used when minimizing windows from a different thread.
SW_HIDE - Hides the window and activates another window.
SW_SHOW - Activates the window and displays it in its current size and position.
SW_SHOWNA - Displays the window in its current state. The active window remains active.
SW_SHOWNORMAL - Activates and displays a window. If the window is minimized or maximized, the system restores it to its original size and position. An application should specify this flag when displaying the window for the first time.
uh thanks but what i was asking is how I can find out which windows are visible and then once they are hiddern to be able to only show the windows it hid