qwert Posted February 18, 2008 Share Posted February 18, 2008 Is there a control setting that will cause an input control to display right-justified (instead of the the default of left-justified)? What I'm looking for is entry behavior like you have with a hand-held calculator where the leading characters march across from right to left as an entry is made. I've thought that the answer might be to create a transparent control for the key entry and use a corresponding label control to display the result. GUICtrlCreateLable seems to have all the necessary display styles, like $SS_RIGHT. But I haven't found any examples of this. I did find several references to RichEdit, but they seem related to setting font style, color and so forth. I didn't find anything related to key entry behavior. Any advice will be appreciated -- and a simple example would be great. Thanks in advance. Link to comment Share on other sites More sharing options...
DjDeep00 Posted February 18, 2008 Share Posted February 18, 2008 $ES_RIGHT Link to comment Share on other sites More sharing options...
Swift Posted February 18, 2008 Share Posted February 18, 2008 Use Koda, And Go To Styles: and Click: $ES_RIGHT (Right Justifided) Link to comment Share on other sites More sharing options...
qwert Posted February 18, 2008 Author Share Posted February 18, 2008 Thanks for both responses. I can't believe I missed seeing the $ES settings. 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