Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Command Bars
  New Posts New Posts RSS Feed - Customize toolbars problem
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Customize toolbars problem

 Post Reply Post Reply
Author
Message
Graham View Drop Down
Groupie
Groupie


Joined: 12 May 2003
Location: United Kingdom
Status: Offline
Points: 23
Post Options Post Options   Thanks (0) Thanks(0)   Quote Graham Quote  Post ReplyReply Direct Link To This Post Topic: Customize toolbars problem
    Posted: 21 December 2004 at 6:56am

Hi,

If you add the lines below to the CustomizeDlg sample program to put a drop down list box in the standard toolbar. If you then choose to customize, and then you reset the standard toolbar, the drop down list box disappears. How do I stop this happening?

Graham

CXTPControlComboBox* pwndComboModePatch = (CXTPControlComboBox*)pToolBar->GetControls()->Add(xtp ControlComboBox, 1001, _T("Patch list"), 0);

pwndComboModePatch->SetDropDownWidth(150);

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.031 seconds.