Sign in to follow this  
Followers 0
DjDeep00

Center Text in A Combo Control

3 posts in this topic

Not sure but is it possible to center text in a combo?

Share this post


Link to post
Share on other sites



I tried this, but didn't work =/

#include <GUIConstants.au3>

$GUI = GUICreate("GUI", 200, 40, -1, -1)
$Combo = GUICtrlCreateCombo("", 10, 10, 180, 20, BitOr($CBS_DROPDOWN, $CBS_AUTOHSCROLL, $WS_VSCROLL, $SS_CENTER))

GUICtrlSetData($Combo, "Item1|Item2|Item3")
GUISetState()

While 1
    Switch GUIGetMsg()
        Case $GUI_EVENT_CLOSE
            Exit
    EndSwitch
WEnd

[quote name='Valik' post='301213' date='Jan 31 2007, 10:36 PM']You seem to have a habit of putting things in the wrong place. I feel sorry for any female you attempt to have sex with.[/quote][font="Lucida Sans Unicode"][/font]

Share this post


Link to post
Share on other sites

#3 ·  Posted (edited)

This has been asked before, I don't think you can... :whistle:

Edit:

Found the thread, and the link I found on the net about it...

http://www.autoitscript.com/forum/index.ph...st&p=181484

Edited by SmOke_N

[center]Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer.[/center]

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