Hello all,
I'm putting a combobox onto a dialog using CreateWindowEx, only setting the WS_VISIBLE and WS_CHILD styles (no CBS_* ones). As a result I get something that looks the same as if I specified the CBS_DROPDOWN style.
Question : what am I actually getting / whats the difference between no
style and the CBS_DROPDOW one ?
Regards,
Rudy Wieser
Considering that a combobox can only have 3 main styles where all
of them are non zero, it has to have a default style to represent
style with zero value.
It's kind of weird, but that's just how it is.
I know it is. Starting with two style values doing the exact same thing is odd. I could have accepted it at the end of the range (styles 4 and
higher - there seem to room for 16 styles), but not the start. Thats why I was asking. :-)
Regards,
Rudy Wieser
Well, only Microsoft knows why the main style value starts from 1
instead of 0.
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 379 |
Nodes: | 16 (2 / 14) |
Uptime: | 41:52:13 |
Calls: | 8,141 |
Calls today: | 4 |
Files: | 13,085 |
Messages: | 5,857,792 |