Sign in to follow this  
Followers 0
boltc

need help with: GUICtrlCreateInput

3 posts in this topic

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



#2 ·  Posted (edited)

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

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  
Followers 0