Bogdan
2008-10-10 13:41:12 UTC
Hi,
I have a combo box button (CBS_DROPDOWNLIST) with a dynamic content in a
toolbar. If I update currently selected item (DeleteItem() + AddItem()) the
change will not be reflected until I move a cursor over the box (which
causes a redraw). That is, the old/deleted item will be displayed until I
move the cursor over the control or drag another window over it. I tried
Invalidatexxx() and Redrawxxx() methods on the embedded combobox but without
any success.
I used to have a combo box in CToolBar and had no such problems so it must
be an issue in the FeaturePack library.
Any suggestions on how to tackle this one?
Thanks,
Bogdan
I have a combo box button (CBS_DROPDOWNLIST) with a dynamic content in a
toolbar. If I update currently selected item (DeleteItem() + AddItem()) the
change will not be reflected until I move a cursor over the box (which
causes a redraw). That is, the old/deleted item will be displayed until I
move the cursor over the control or drag another window over it. I tried
Invalidatexxx() and Redrawxxx() methods on the embedded combobox but without
any success.
I used to have a combo box in CToolBar and had no such problems so it must
be an issue in the FeaturePack library.
Any suggestions on how to tackle this one?
Thanks,
Bogdan