boltc Posted February 7, 2006 Posted February 7, 2006 i want my gui always in top.. cant find any code in the help.. can someone help me?
Moderators SmOke_N Posted February 7, 2006 Moderators Posted February 7, 2006 Global Const $GUI_ONTOP = 2048 Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer.
Xenobiologist Posted February 7, 2006 Posted February 7, 2006 (edited) i want my gui always in top.. cant find any code in the help.. can someone help me?Hi,maybe have a look at WinSetOnTop in the help file, too.So long,Mega Edited February 7, 2006 by th.meger Scripts & functions Organize Includes Let Scite organize the include files Yahtzee The game "Yahtzee" (Kniffel, DiceLion) LoginWrapper Secure scripts by adding a query (authentication) _RunOnlyOnThis UDF Make sure that a script can only be executed on ... (Windows / HD / ...) Internet-Café Server/Client Application Open CD, Start Browser, Lock remote client, etc. MultipleFuncsWithOneHotkey Start different funcs by hitting one hotkey different times
boltc Posted February 7, 2006 Author Posted February 7, 2006 Global Const $GUI_ONTOP = 2048got a error..ERROR: $GUI_ONTOP previously declared as a 'Const'Global Const $GUI_ONTOP = 2048~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^how can i fix this?
BigDod Posted February 7, 2006 Posted February 7, 2006 got a error.. ERROR: $GUI_ONTOP previously declared as a 'Const' Global Const $GUI_ONTOP = 2048 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ how can i fix this?See this #include <GUIConstants.au3> ; == GUI generated with Koda == $Form1 = GUICreate("AForm1", 622, 448, 192, 125, -1, $WS_EX_TOPMOST) GUISetState(@SW_SHOW) While 1 $msg = GuiGetMsg() Select Case $msg = $GUI_EVENT_CLOSE ExitLoop Case Else ;;;;;;; EndSelect WEnd Exit Whenever I am not sure what to do with GUI's I play with Koda until it behaves as I want it to. Time you enjoyed wasting is not wasted time ......T.S. Elliot Suspense is worse than disappointment................Robert Burns God help the man who won't help himself, because no-one else will...........My Grandmother
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