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 » About CExtPopupMenuWnd::g_nMsgPopupDrawItem Collapse All
Subject Author Date
tera t Nov 13, 2007 - 7:36 PM

Hello.

http://www.yukai.jp/~ifreeta/20071114/image01.jpg

I incorporated PopupMenu in ToolBar.
With g_nMsgPopupDrawItem, I displayed the selection.

http://www.yukai.jp/~ifreeta/20071114/image02.jpg

However, "owner draw" does not work well when I become OneMenuLevel.
I do not understand the cause that does not work.

http://www.yukai.jp/~ifreeta/20071114/SampleMuToolBar2.lzh

Thank you

Technical Support Nov 16, 2007 - 6:18 AM

The chevron button and its menu are built-in parts of the toolbar window. That is why you didn’t get the menu item painting message. In fact, this menu is completely handled by the toolbar window. All the menu notification messages are sent to the toolbar window instead of the main frame window.