Jump to content
Sign in to follow this  
boltc

need help with: GUICtrlCreateInput

Recommended Posts

boltc

i want to create a inputbox thats not possible to edit and it needs to right aligns the text.

i have this for now on:

$ctrlinput = GUICtrlCreateInput("", 16, 16, 153, 21, $ES_READONLY)

but i also want the right alings.. the code is: "$ES_RIGHT"

this doesnt work:

$ctrlinput = GUICtrlCreateInput("", 16, 16, 153, 21, $ES_READONLY & $ES_RIGHT)

or..

$ctrlinput = GUICtrlCreateInput("", 16, 16, 153, 21, ($ES_READONLY, $ES_RIGHT))

need help :whistle:

Share this post


Link to post
Share on other sites
Danny35d

The best way to combine GUI control styles is by using BitOr

$ctrlinput = GUICtrlCreateInput("", 16, 16, 153, 21, BitOR($ES_READONLY, $ES_RIGHT))

Edited by Danny35d

AutoIt Scripts:NetPrinter - Network Printer UtilityRobocopyGUI - GUI interface for M$ robocopy command line

Share this post


Link to post
Share on other sites
boltc

thankyou.. it works..

but what does bitor excelly?

Share this post


Link to post
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
Sign in to follow this  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.