Right align ComboBox

  • Thread starter Thread starter Ofer B.
  • Start date Start date
O

Ofer B.

Hi all
The Combo box don't have the option of right align.
can I make a control that inherit from the regular combo and will be right
align?

what method should I override in order to make my control right align ?

Thanks
Ofer
 
AFAIK the underlying native combobox control does not
support right alignment, meaning that you could not
P/Invoke and send a message to the underlying control.
Furthermore, since the Paint event is not raised inside a
ComboBox I don't see how you would benefit from deriving
from it for your purpose.

To me it seems that you would have to write your own
control, derived from Control.

Regards,
Maarten Struys, eMVP
PTS Software
 
Back
Top