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 » Remove or modify the gradient in the filter pop up menu Collapse All
Subject Author Date
Therese P May 14, 2010 - 9:58 AM

Hi ,

our application uses a theme with gradients, but for the filter pop up menu, it needs to have no gradient (on the left side with tthe icons) or a solid color (we want a dark color). The gradient given is too bright. Is there a way to disable the gradient in the popup menu? Thanks

Technical Support May 14, 2010 - 11:31 PM

Please take a look at the Popup Menus dialog page in the ProfUIS_Controls sample application. A right mouse click on this dialog page displays a context menu with repainted left area and menu items. The CPagePopupMenus::OnExtMenuDrawBackground method handles the CExtPopupMenuWnd::g_nMsgPopupDrawBackground registered message which is sent for repainting menu background. The CPagePopupMenus::OnDrawPopupMenuItem method handles the CExtPopupMenuWnd::g_nMsgPopupDrawItem registered message which is sent for repainting menu items. The CPagePopupMenus::OnDrawPopupLeftArea method handles the CExtPopupMenuWnd::g_nMsgPopupDrawLeftArea registered message which is sent for painting left area of the popup menu window.