cramaboule Posted October 9, 2009 Share Posted October 9, 2009 Hello all, I am creating 2 Gui in the same program. (when I click on a button the other GUi appears!) But I have 2 "clickable buttons" on the taskbar... and I would like only one (the one of the main Gui!) Which attribute do I have to use? #include <WindowsConstants.au3> #include <GUIConstantsEx.au3> $form1 = GUICreate("bla bla bla", 300, 215, -1, -1) $GO = GUICtrlCreateButton("go", 50, 160, 196, 41) GUISetState(@SW_SHOW, $form1) While 1 $nMsg = GUIGetMsg() Select Case $nMsg = $GUI_EVENT_CLOSE Exit Case $nMsg = $GO $Form2 = GUICreate("", 420, 100,-1, -1,BitOR($WS_POPUP,$WS_BORDER)) GUISetState(@SW_SHOW, $form2) ;some other stuff here EndSelect WEnd Cramaboule My Autoit programs: MAC Address - - Delete Temp Files - - Ping Test - - Play Video with VLC full screen dual monitors - - Set IP - - Pics Converter - - AutoUpdater - - CPU Usage - - Ending Script Nicely - - GDI+ GUI crossfades (slide transitions) - - Beamer - - Search and Search in Files - - Silent Ninite Others: Export Icons into Dll - - My website Link to comment Share on other sites More sharing options...
AdmiralAlkex Posted October 9, 2009 Share Posted October 9, 2009 Well one way is to add $WS_EX_TOOLWINDOW .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...
cramaboule Posted October 9, 2009 Author Share Posted October 9, 2009 thanks AdmiralAlkex, that's exactly what I needed !!! My Autoit programs: MAC Address - - Delete Temp Files - - Ping Test - - Play Video with VLC full screen dual monitors - - Set IP - - Pics Converter - - AutoUpdater - - CPU Usage - - Ending Script Nicely - - GDI+ GUI crossfades (slide transitions) - - Beamer - - Search and Search in Files - - Silent Ninite Others: Export Icons into Dll - - My website 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