Here is an example:
1. initialize box
AddString("AAA");
AddString("aaa");
2. Select aaa or AAA
3. Click again on the ComboBox's arrow to open its listbox
Result -> AAA item is always selected instead of corresponding aaa or
AAA.
Here is what I mean:
Joseph M. Newcomer [MVP]
email: newc...@flounder.com
Web: http://www3.pgh.net/~newcomer
MVP Tips: http://www3.pgh.net/~newcomer/mvp_tips.htm
If you don't have code resembling the above (I forget what bit is
tested for the "selected", but see my code, which does it right), you
are not going to see any selection boxes. And you have to draw the
actuall background color before laying down any text (and I recommend
dc.SetBkMode(TRANSPARENT) for best effect). You also have to call
DrawFocusRect to get the rectangle to display.
joe
On Tue, 13 Mar 2001 15:10:26 -0800, Igor Lychakov <ilyc...@ynn.com>
wrote: