Professional UI Solutions
Site Map   /  Register
 
 

Forum

Please Log In to post a new message or reply to an existing one. If you are not registered, please register.

NOTE: Some forums may be read-only if you are not currently subscribed to our technical support services.

Forums » Prof-UIS General Discussion » CExtToolControlBar in CExtResizableDialog Collapse All
Subject Author Date
Alexey Zbritsky Jan 28, 2005 - 3:53 AM

I create CExtToolControlBar in my dialog manually (using following code)


mToolBar.Create(mToolBarName,this);
mToolBar.LoadToolBar(IDR_TOOLBAR);
mToolBar.ShowWindow(SW_SHOW);
mToolBar.SetBarStyle(CBRS_ALIGN_TOP | CBRS_TOOLTIPS | CBRS_FLYBY);
RepositionBars(AFX_IDW_CONTROLBAR_FIRST, AFX_IDW_CONTROLBAR_LAST, 0);


and i have stack overflow in CExtResizableDialog::PreTranslateMessage()


and Call Stack shows:


...
CExtControlBar::DoCustomModePreTranslateMessage(...)
CExtResizableDialog::PreTranslateMessage(...)
CExtControlBar::DoCustomModePreTranslateMessage(...)
CExtResizableDialog::PreTranslateMessage(...)
...


What should I do?

Technical Support Jan 28, 2005 - 11:16 AM

Dear Alexey,

We cannot reproduce the bug you are reporting. Could you send us the project that demonstrates the problem?