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 General Discussion » redraw separator in menu Collapse All
Subject Author Date
Borremans Pierre Dec 9, 2009 - 12:57 AM

I use the CExtPaintManagerOffice2003 in my application. But I need to redraw the separator in all menu (mainframe menu, CExtPopupMenuWnd) which function  I must override and how to redraw the separator ?

Technical Support Dec 9, 2009 - 1:28 PM

You should repaint menu separator items:

http://www.prof-uis.com/prof-uis/tech-support/faq/pop-up-menus.aspx#how-to-implement-custom-drawing-for-menu-items

The ProfUIS_Controls and DRAWCLI sample projects handle the CExtPopupMenuWnd::g_nMsgPopupDrawItem registered message for implementing custom looking menu items.

Please note, the menu separator items use the ID_SEPARATOR command identifier which is zero value.

Borremans Pierre Dec 14, 2009 - 3:17 AM

ok thanks I find the solution with your information