Can't find the information you are looking for here? Then leave a message over on our WinBatch Tech Support Forum.
#DefineFunction Udfshowdesktop (option) ; When option is: @TRUE = Show Desktop, @FALSE = Hide Desktop user32 = DLLload(StrCat(DirWindows(1),"User32.DLL")) hwnd = DllCall(user32, long:"FindWindowExA", long:0,long:0,lpstr:"Progman",long:0) If (hwnd<>0) option = Min(@True,Max(@False,option)) DllCall(user32, long:"ShowWindow", long:hwnd, long:option) EndIf ; (hWnd<>0). DLLfree(user32) Return #EndFunction ; Udfshowdesktop.
Article ID: W17004
File Created: 2007:07:03:14:27:34
Last Updated: 2007:07:03:14:27:34