![]() |
CXTToolbar with 2 CComboBoxEx stuck ! |
Post Reply
|
| Author | |
totolehéros
Newbie
Joined: 04 February 2005 Status: Offline Points: 1 |
Post Options
Thanks(0)
Quote Reply
Topic: CXTToolbar with 2 CComboBoxEx stuck !Posted: 04 February 2005 at 8:14am |
|
Hi All, I'm playing with controls insertion into toolbars. I successfully managed to create and insert a CComboBox and a CComboBoxEx into my toolbar. It worked like a charm. Then I decided to change my CComboBox into a CComboBoxEx. When I do that, the app freezes when painting the toolbar for the 1st time. The call stack shows that we're somewhere (very) deep into CXTToolBar::OnCustomDraw() drawing this 2nd combo. I noticed that if I don't InsertControl() the 2nd CComboBoxEx, everything is fine (except of course that the combo is floating above the toolbar buttons). If I don't InsertControl() the other CComboBoxEx(), everything is fine as well. If I InsertControl 1 combobox and 1 comboboxex, it's fine. I really have 2 InsertControl() _2_ CComboBox_Ex_ to experience the problem. Does it ring any bell to anyone ? TIA, Serge. |
|
![]() |
|
Post Reply
|
|
|
Tweet
|
| Forum Jump | Forum Permissions ![]() You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |