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
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