Merchants Posted April 18, 2010 Share Posted April 18, 2010 how to remove the GUI title bar in windows ?like #NoTrayIcon Link to comment Share on other sites More sharing options...
AdmiralAlkex Posted April 18, 2010 Share Posted April 18, 2010 You need to set another window as the parent (last parameter of GuiCreate), like the desktop or the hidden autoit window. Here's example for both: GUICreate("Test1", 200, 100, -1, -1, -1, -1, WinGetHandle("Program Manager")) GUISetState() Do Sleep(10) Until GUIGetMsg() = -3 AutoItWinSetTitle("WeDontWantToHaveTheSameNameAsOtherScripts") GUICreate("Test2", 200, 100, -1, -1, -1, -1, WinGetHandle(AutoItWinGetTitle())) GUISetState() Do Sleep(10) Until GUIGetMsg() = -3 .Some of my scripts: ShiftER, Codec-Control, Resolution switcher for HTC ShiftSome of my UDFs: SDL UDF, SetDefaultDllDirectories, Converting GDI+ Bitmap/Image to SDL Surface Link to comment Share on other sites More sharing options...
Fantastic Posted April 18, 2010 Share Posted April 18, 2010 Use $WS_EX_TOOLWINDOW as extended style if it fits your needs. #include <GUIConstantsEx.au3> #include <WindowsConstants.au3> #Region ### START Koda GUI section ### Form= $Form1 = GUICreate("Form1", 625, 443, 192, 124, -1, BitOR($WS_EX_TOOLWINDOW,$WS_EX_WINDOWEDGE)) GUISetState(@SW_SHOW) #EndRegion ### END Koda GUI section ### While 1 $nMsg = GUIGetMsg() Switch $nMsg Case $GUI_EVENT_CLOSE Exit EndSwitch WEnd [u]My current project:[/u] [size="1"]A bootable USB[/size]Webpage:*http://mylittlesoft.blogspot.com/ Link to comment Share on other sites More sharing options...
Merchants Posted April 18, 2010 Author Share Posted April 18, 2010 thank you fixed Link to comment Share on other sites More sharing options...
Fantastic Posted April 18, 2010 Share Posted April 18, 2010 Which solution did you use ? [u]My current project:[/u] [size="1"]A bootable USB[/size]Webpage:*http://mylittlesoft.blogspot.com/ Link to comment Share on other sites More sharing options...
Merchants Posted April 18, 2010 Author Share Posted April 18, 2010 (edited) 1e that is the best one your solution is a completely other style that's more for a custom use Edited April 18, 2010 by Merchants 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