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 » menu icon items in 16*16 and toolbar icon in 32*32 Collapse All
Subject Author Date
Borremans Pierre Nov 13, 2009 - 12:34 AM

In our application we want to have menu icon items in 16*16 and toolbar icon in 32*32 withou using different identifiers for menu items and toolbar buttons.

Is it possible ?

Technical Support Nov 18, 2009 - 6:50 AM

You don’t need two different handler methods. You need two message map entries based on different command identifiers and pointing to one handler method.

Borremans Pierre Nov 18, 2009 - 4:14 AM

Thanks for your help, I found a solution. I overdrive the CalculateLayout and PaintCompound from the CExtBarButton class and It works.

Borremans Pierre Nov 17, 2009 - 3:26 AM

To simplify our working because for each command we have 2 functions and we have a lot of command identifiers. It’s easier to use the same identifier for other programmer. Is it possible ?

Technical Support Nov 13, 2009 - 1:58 PM

It’s much easier to do this if you use different command identifiers. Why cannot you use different command identifiers?