Professional UI Solutions
Site Map   /  Register


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 » i want to insert imagelist in my customization combobox Collapse All
Subject Author Date
anil vyas Jul 4, 2007 - 7:03 AM

I have problem related to customization
1.I want to insert Image list through CExtImageList In My customization ComboBox Of my toolbar.How is it possible?
Is there any class available?I want to use SetImageList() only.Is It Possible?
In CExtCustomizeSite::PopListBoxInitContent() parameters.Can I make use CComboBoxEx instead of CListBox.If use then how to do it?
2.If u have any other solution then suggest.
3.If Insert CComboBox with CExtToolControlBar::SetButtonCtrl().Then CComboBoxEx is MFC class.So How to solve?
4.I have two combobox.I want to make my one combo non-editable also.

Technical Support Jul 6, 2007 - 11:09 AM

In the current version the text fields and combo box fields in toolbars and menus can display text only. So, we can regard your first question as a feature request.

If you want to change the menu bar’s font, you should use a CExtMenuControlBar-derived class which implements the following virtual method:

      virtual CFont * OnGetToolbarFont(
            bool bVert,
            bool bMeasureFont
You need two fonts: one is for the case when it is docked vertically and another one for when is docked horizontally or floating. The bMeasureFont parameter can be ignored.