Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Toolkit Pro
  New Posts New Posts RSS Feed - CXTToolbar with 2 CComboBoxEx stuck !
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

CXTToolbar with 2 CComboBoxEx stuck !

 Post Reply Post Reply
Author
Message
totolehéros View Drop Down
Newbie
Newbie


Joined: 04 February 2005
Status: Offline
Points: 1
Post Options Post Options   Thanks (0) Thanks(0)   Quote totolehéros Quote  Post ReplyReply Direct Link To This Post 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.

Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.035 seconds.