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.
Subject |
Author |
Date |
|
Arild Fiskum
|
Apr 20, 2005 - 6:24 AM
|
Hi I think there is a bug in the menu implementation, try this: - Use mouse and open a menu from the main manu bar containing at least 1 sub menu. - Click on Sub menu - Then Click on a disabled menu above or below Sub menu text. - Application is now unresponsive to any mous movements/clicks. - Only way to regain control is to switch focus to other app or os, then menu closes. Regards Arild
|
|
Technical Support
|
Apr 20, 2005 - 12:01 PM
|
Thank you for the bug report. It is not difficult to fix it. Please find the following code in the CExtPopupMenuWnd::_OnMouseClick() method which is defined in the ExtPopupMenuWnd.cpp file: MENUITEMDATA & mi = _GetItemRef(nHitTest);
if( (!mi.IsEnabled()) || mi.IsSeparator() )
return true; and replace that with the following code: MENUITEMDATA & mi = _GetItemRef(nHitTest);
if( (!mi.IsEnabled()) || mi.IsSeparator() )
{
_ItemFocusCancel( TRUE );
_SetCapture();
return true;
} Of course, we can provide you with the latest source code via e-mail or FTP download.
|
|
Arild Fiskum
|
Apr 21, 2005 - 1:11 AM
|
|
|