1. Hide the Start Menu
Hwnd = NULL; <br/> hwnd =: findwindow ("shell_traywnd", null); <br/> cwnd * pwnd = find1_wex (hwnd, null, "button ", null); <br/> If (pwnd! = NULL) <br/>{< br/> pwnd-> showwindow (sw_hide); <br/>}< br/>
Show Start Menu
Hwnd = NULL; <br/> hwnd =: findwindow ("shell_traywnd", null); <br/> cwnd * pwnd = find1_wex (hwnd, null, "button ", null); <br/> If (pwnd! = NULL) <br/>{< br/> pwnd-> showwindow (sw_show); <br/>}< br/>
2. Hide the current task button
Hwnd = NULL; <br/> hwnd =: findwindow ("shell_traywnd", null); <br/> cwnd * pwnd = find1_wex (hwnd, null, "rebarwindow32 ", null); <br/> If (pwnd! = NULL) <br/>{< br/> pwnd-> showwindow (sw_hide); <br/>}< br/>
Show current task button
Hwnd = NULL; <br/> hwnd =: findwindow ("shell_traywnd", null); <br/> cwnd * pwnd = find1_wex (hwnd, null, "rebarwindow32 ", null); <br/> If (pwnd! = NULL) <br/>{< br/> pwnd-> showwindow (sw_show); <br/>}< br/>
3. Hide pallets
Hwnd = NULL; <br/> hwnd =: findwindow ("shell_traywnd", null); <br/> cwnd * pwnd = find1_wex (hwnd, null, "traypolicywnd ", null); <br/> If (pwnd! = NULL) <br/>{< br/> pwnd-> showwindow (sw_hide); <br/>}< br/>
Display Tray
Hwnd = NULL; <br/> hwnd =: findwindow ("shell_traywnd", null); <br/> cwnd * pwnd = find1_wex (hwnd, null, "traypolicywnd ", null); <br/> If (pwnd! = NULL) <br/>{< br/> pwnd-> showwindow (sw_show); <br/>}< br/>
Note: The window information is displayed after spy ++ is used...
The picture is as follows: http://hi.csdn.net/space-4030633-do-album-picid-768175.html