Changeset 2415 for trunk/src/user32/new/menu.cpp
- Timestamp:
- Jan 12, 2000, 1:41:20 PM (26 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/user32/new/menu.cpp
r2410 r2415 1 /* $Id: menu.cpp,v 1. 7 2000-01-11 17:34:42 cbratschiExp $*/1 /* $Id: menu.cpp,v 1.8 2000-01-12 12:40:43 sandervl Exp $*/ 2 2 /* 3 3 * Menu functions … … 2402 2402 if( hNewWnd != pmt->hOwnerWnd ) 2403 2403 { 2404 ReleaseCapture(); 2404 ReleaseCapture(); 2405 2405 pmt->hOwnerWnd = hNewWnd; 2406 SetCapture(pmt->hOwnerWnd); //SvL: Don't know if this is good enough 2406 2407 //EVENT_Capture( pmt->hOwnerWnd, HTMENU ); //CB: todo 2407 2408 } … … 2594 2595 2595 2596 //EVENT_Capture( mt.hOwnerWnd, HTMENU ); //CB: todo 2597 //SvL: Set keyboard & mouse event capture 2598 SetCapture(mt.hOwnerWnd); 2596 2599 2597 2600 while (!fEndMenu) … … 2602 2605 /* we have to keep the message in the queue until it's 2603 2606 * clear that menu loop is not over yet. */ 2604 if (!GetMessageA(&msg,msg.hwnd,0,0)) break; 2607 // if (!GetMessageA(&msg,msg.hwnd,0,0)) break; 2608 //SvL: Getting messages for only the menu delays background paints (i.e. VPBuddy logo) 2609 if (!GetMessageA(&msg,0,0,0)) break; 2605 2610 TranslateMessage( &msg ); 2606 2611 mt.pt = msg.pt; … … 2610 2615 2611 2616 fRemove = FALSE; 2612 if 2617 if((msg.message >= WM_MOUSEFIRST) && (msg.message <= WM_MOUSELAST)) 2613 2618 { 2614 2619 /* Find a menu for this mouse event */
Note:
See TracChangeset
for help on using the changeset viewer.