Jump to content

set button ton top.....?


Recommended Posts

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 by Valuater

NEWHeader1.png

Link to comment
Share on other sites

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

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)

thx

8(

NEWHeader1.png

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...