Home » U++ Library support » Menus&Toolbars » Disabled menu item not disabled [FIXED]
Disabled menu item not disabled [FIXED] [message #680] |
Wed, 25 January 2006 11:39 |
victorb
Messages: 78 Registered: December 2005 Location: Nice, France
|
Member |
|
|
If you open the "Menu" example you can see the following issue:
When "Numbers" is supposed to be disabled and the mouse come over this item, the sub-menu will pop-up.
This can be solved in MenuBar.cpp
void SubMenuItem::MouseEnter(Point, dword)
{
SetFocus();
Refresh();
- if(!menu.IsOpen())
+ if(!menu.IsOpen() && isenabled)
SetTimeCallback(400, THISBACK(Pull), TIMEID_PULL);
}
Victor
[Updated on: Sun, 30 April 2006 16:36] by Moderator Report message to a moderator
|
|
|
|
Goto Forum:
Current Time: Fri Nov 01 00:15:08 CET 2024
Total time taken to generate the page: 0.02631 seconds
|