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 Tech Support » How to enable Personalize Menus and Toolbars section items? Collapse All
Subject Author Date
Stan Miasnikov Dec 12, 2006 - 10:19 AM

For some reason I could not find this in the documentation, so I am probably blind, but here is the question: all items in the Personalize Menus and Toolbars section of the Customize/Options dialog box are always disabled (grayed out). How to enable items in this section? We do not subclass this dialog box nor call it directly in the application.

Stan Miasnikov Dec 13, 2006 - 11:49 PM

This helps, thanks!

Suhai Gyorgy Dec 13, 2006 - 1:51 AM

I checked BitmapEditor sample, and there I found this line:

CExtCustomizeSite::EnableCustomization( this, __ECSF_DEFAULT|__ECSF_PARMS_DISABLE_PERSONALIZED);

In Help’s Reference section, if you click on CExtCustomizeSite page, it shows a table of flags that can be used in this method. For __ECSF_PARMS_DISABLE_PERSONALIZED flag Help says: "Personalized Menus and Toolbars controls group on the Toolbars page in the Customize dialog is disabled." So solution: make sure you call EnableCustomization with only __ECSF_DEFAULT flag as second parameter (Actually that is default parameter, so you can skip second paramter altogether and call only CExtCustomizeSite::EnableCustomization( this ); )