469,609 Members | 1,804 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,609 developers. It's quick & easy.

Q: Character Casing in a ComboBox

Hi!

Is it possible to enable Charater Casing in a ComboBox, if, how?

As of now i am using KeyUp event to make sure that the char entered is
Uppercase.

Regards
Martin Arvidsson
Nov 17 '05 #1
2 2157
> Is it possible to enable Charater Casing in a ComboBox, if, how?

You can enable the OS support for this by deriving your own control class
from Combobox, override the CreateParams property and include the
CBS_UPPERCASE style flag.
Mattias

Nov 17 '05 #2
A short example would be great, since i am kinda new to C#

Regards
Martin

"Mattias Sjögren" <Ma***********@discussions.microsoft.com> skrev i
meddelandet news:97**********************************@microsof t.com...
Is it possible to enable Charater Casing in a ComboBox, if, how?


You can enable the OS support for this by deriving your own control class
from Combobox, override the CreateParams property and include the
CBS_UPPERCASE style flag.
Mattias

Nov 17 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

13 posts views Thread by Mr. B | last post: by
3 posts views Thread by blackdevil1979 | last post: by
3 posts views Thread by UmmagummA | last post: by
3 posts views Thread by TT (Tom Tempelaere) | last post: by
6 posts views Thread by suzy | last post: by
reply views Thread by gheharukoh7 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.