Daniel W. Posted June 27, 2006 Share Posted June 27, 2006 Hi, i want to hide the taskbar to make a full screen window but i dont get it to work .... Can you help me? With classname it doesnt work... Regards --------------------------------------------------------------------------------------------------------------------------------Scripts : _Encrypt UDF_UniquePCCode UDF MS like calculatorInstall programm *UPDATED* --------------------------------------------------------------------------------------------------------------------------------[quote name='Helge' post='213117' date='Jul 26 2006, 10:22 AM']Have you ever tried surfing the internet with a milk-carton ?This is similar to what you're trying to do.[/quote] Link to comment Share on other sites More sharing options...
jvanegmond Posted June 27, 2006 Share Posted June 27, 2006 (edited) You can just use WinSetState with the @SW_HIDE. [edit] Working example: Opt("WinTitleMatchMode", 4) WinSetState("classname=Shell_TrayWnd", "", @SW_HIDE) Sleep(1000) WinSetState("classname=Shell_TrayWnd", "", @SW_SHOW) Edited June 27, 2006 by Manadar github.com/jvanegmond Link to comment Share on other sites More sharing options...
Daniel W. Posted June 27, 2006 Author Share Posted June 27, 2006 Oh kk thanks just didnt have the Opt .... But how can create a gui that is "over" the taskbar? with @desktopwidht and height it doesnt work :.. --------------------------------------------------------------------------------------------------------------------------------Scripts : _Encrypt UDF_UniquePCCode UDF MS like calculatorInstall programm *UPDATED* --------------------------------------------------------------------------------------------------------------------------------[quote name='Helge' post='213117' date='Jul 26 2006, 10:22 AM']Have you ever tried surfing the internet with a milk-carton ?This is similar to what you're trying to do.[/quote] Link to comment Share on other sites More sharing options...
jvanegmond Posted June 27, 2006 Share Posted June 27, 2006 (edited) Do this for height and width: GUICreate("", @DesktopWidth*2,@DesktopHeight*2,0,0) Makes sure this fills your screen. You can also just add up 20 or so, works just as well. [edit] i think taskbar is 21 pixels high ^^ lol Edited June 27, 2006 by Manadar github.com/jvanegmond Link to comment Share on other sites More sharing options...
jvanegmond Posted June 27, 2006 Share Posted June 27, 2006 (edited) #include <GUIConstants.au3> Opt("WinTitleMatchMode", 4) WinSetState("classname=Shell_TrayWnd", "", @SW_HIDE) GUICreate("", @DesktopWidth*2,@DesktopHeight*2,0,0,$WS_POPUP) GUISetBkColor(0) GUISetState() Sleep(2000) GUIDelete() WinSetState("classname=Shell_TrayWnd", "", @SW_SHOW) Edit: Good luck blocking Alt+Tab and Start ^^ Edited June 27, 2006 by Manadar github.com/jvanegmond Link to comment Share on other sites More sharing options...
Daniel W. Posted June 27, 2006 Author Share Posted June 27, 2006 got it already no i dont want to block it anyway its just a project that is beating me at the moment --------------------------------------------------------------------------------------------------------------------------------Scripts : _Encrypt UDF_UniquePCCode UDF MS like calculatorInstall programm *UPDATED* --------------------------------------------------------------------------------------------------------------------------------[quote name='Helge' post='213117' date='Jul 26 2006, 10:22 AM']Have you ever tried surfing the internet with a milk-carton ?This is similar to what you're trying to do.[/quote] Link to comment Share on other sites More sharing options...
Emperor Posted June 27, 2006 Share Posted June 27, 2006 (edited) #include <GUIConstants.au3> Opt("WinTitleMatchMode", 4) WinSetState("classname=Shell_TrayWnd", "", @SW_HIDE) GUICreate("", @DesktopWidth*2,@DesktopHeight*2,0,0,$WS_POPUP) GUISetBkColor(0) GUISetState() Sleep(2000) GUIDelete() WinSetState("classname=Shell_TrayWnd", "", @SW_SHOW)oÝ÷ ØGb´j(v[¹hrH§ mù6jwRµªíþ«¨µäáyú%"zk-¡Úŧ-+azƦy«2¢êܡ׺Ú"µÍÚ[ÛYH ÑÕRPÛÛÝ[Ë]LÉÝÂÕRPÜX]J ][ÝÉ][ÝËÚÝÜÚYÚÝÜZYÚ ÌÍÕÔ×ÔÔT BÕRTÙ]ÐÛÛÜ BÕRTÙ]Ý]JÕ×ÔÒÕÊBÛY BÕRQ[]J On my computer it covers the taskbar no problem, don't know why you have to hide it Edited June 27, 2006 by Emperor Link to comment Share on other sites More sharing options...
Daniel W. Posted June 27, 2006 Author Share Posted June 27, 2006 Hm yes thanks for telling us --------------------------------------------------------------------------------------------------------------------------------Scripts : _Encrypt UDF_UniquePCCode UDF MS like calculatorInstall programm *UPDATED* --------------------------------------------------------------------------------------------------------------------------------[quote name='Helge' post='213117' date='Jul 26 2006, 10:22 AM']Have you ever tried surfing the internet with a milk-carton ?This is similar to what you're trying to do.[/quote] Link to comment Share on other sites More sharing options...
jvanegmond Posted June 27, 2006 Share Posted June 27, 2006 The following seems to do exactly the same as your code. #include <GUIConstants.au3> GUICreate("", @DesktopWidth, @DesktopHeight, 0, 0, $WS_POPUP) GUISetBkColor(0) GUISetState(@SW_SHOW) Sleep(2000) GUIDelete() On my computer it covers the taskbar no problem, don't know why you have to hide it It also does on mine github.com/jvanegmond Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now