Chevron support in a IDeskband toolbar

  • Thread starter Thread starter viveque.kumar
  • Start date Start date
V

viveque.kumar

Hi,

I have a toolbar which needs Chevron support. The toolbar is not
implemented as a rebar control but rather its an IDeskBand toolbar.

I have set the flag DBIMF_USECHEVRON in IDeskBand::GetBandInfo() and I
DO get to see the chevron and the corresponding drop menu when the
chevron is clicked.

However, my toolbar buttons are created using custom painting
(NM_CUSTOMDRAW) and in the chevron drop menu only the text is coming.

I need to understand which messages to catch when the chevron drop menu
is being drawn so that I can render the same look and feel to them.

Also, how do I handle the menu messages (e.g. when user hovers the
first row or the second row in the chevron drop down menu.)

Please help, I am really stuck here
- Vivek
 
Hi Viveque,

I am not a C++ developer so I am not familiar with your methods of
implementation.

I would suggest investigating how other toolbars implement the shevron by
using the Spy++ utility to view the message que for MENU and ReBar messages.

I know its not much help, but I hope it does.

Regards.
 
Back
Top