Valuater Posted June 8, 2005 Share Posted June 8, 2005 (edited) heres the sitch #include <GUIConstants.au3> GUICreate("My GUI color text") ; will create a dialog box that when displayed is centered $Button_1 = GuiCtrlCreateButton("Button1", 130, 150, 170, 40, $BS_BOTTOM + $BS_CENTER, $WS_EX_TOPMOST ) $Button_2 = GuiCtrlCreateButton("Button2", 180, 100, 40, 170, $BS_TOP + $BS_CENTER) GUISetState () ; Run the GUI until the dialog is closed While 1 $msg = GUIGetMsg() If $msg = $GUI_EVENT_CLOSE Then ExitLoop Wend anyone know how to set button one on top at all times really would help me in my program...... this is just an example thx 8( Edited June 8, 2005 by Valuater Link to comment Share on other sites More sharing options...
flyingboz Posted June 8, 2005 Share Posted June 8, 2005 seems to be a simple enough thing to accomplish what you desire w/ 3 buttons, such that the one button you desire to be "underneath" is actually two properly located buttons. Reading the help file before you post... Not only will it make you look smarter, it will make you smarter. Link to comment Share on other sites More sharing options...
Valuater Posted June 8, 2005 Author Share Posted June 8, 2005 seems to be a simple enough thing to accomplish what you desire w/ 3 buttons, such that the one button you desire to be "underneath" is actually two properly located buttons.<{POST_SNAPBACK}>this is only an example....that wont work in the real thing (my program)thx8( 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