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 » Ragarding Menuitem problem Collapse All
Subject Author Date
Trupti Kasvala Jan 23, 2009 - 9:44 PM

Hello sir,

I am using Prof-UIS 2.84 version.

Each time i track through menu items it calls OnDraw of CView class.

How to avoid it ?I have already sended this problem previously.

Waiting for your early reply


Technical Support Jan 26, 2009 - 11:39 AM

The popup menu windows are created in the CExtPopupMenuWnd::_CreateHelper() method which also registers menu window class which uses the CS_SAVEBITS class style. So, popup menu should not cause repainting of background windows. But if you displaying popup menus using the TPMX_FORCE_NO_ANIMATION menu flag, then this menus are based on desktop window without the CS_SAVEBITS class style and background windows are repainted when the menu is closed.