van_renier Posted March 18, 2005 Posted March 18, 2005 Is it possible to combine different styles on the same label/button/edit/etc? I'd like the text centered: $SS_CENTER And to have a black border: $SS_BLACKFRAME I've tried having them using the following syntax, but it fails to accomplish desired results: $Label = GUICtrlCreateLabel ( "Agents", 5, 5, 9, 9, $SS_CENTER & $SS_BLACKFRAME) Any Ideas? Van Renier vanrenier AT hotmail . com
van_renier Posted March 18, 2005 Author Posted March 18, 2005 Larry said: $Label = GUICtrlCreateLabel ( "Agents", 5, 5, 9, 9, BitOR($SS_CENTER, $SS_BLACKFRAME) )<{POST_SNAPBACK}>Thanks, Larry!
van_renier Posted March 18, 2005 Author Posted March 18, 2005 Larry said: $Label = GUICtrlCreateLabel ( "Agents", 5, 5, 9, 9, BitOR($SS_CENTER, $SS_BLACKFRAME) )<{POST_SNAPBACK}>Larry,When I use that syntax, the text is no longer visible within.(the above X,Y, and sizes are examples, not absolute)without both styles, the text shows, but with the styles they don't .I even increased the dimensions of the control/label to ensure it has enough room.Any suggestions?Van
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