Changeset 6243 for trunk/src/user32/menu.cpp
- Timestamp:
- Jul 8, 2001, 10:06:15 AM (24 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/user32/menu.cpp
r6183 r6243 1 /* $Id: menu.cpp,v 1.3 4 2001-07-06 13:46:59sandervl Exp $*/1 /* $Id: menu.cpp,v 1.35 2001-07-08 08:06:14 sandervl Exp $*/ 2 2 /* 3 3 * Menu functions … … 33 33 #ifdef __WIN32OS2__ 34 34 #include <objhandle.h> 35 #include "pmwindow.h" 35 36 36 37 #define DBG_LOCALLOG DBG_menu … … 2372 2373 { 2373 2374 pmt->hCurrentMenu = MENU_ShowSubPopup(pmt->hOwnerWnd,hPtMenu,FALSE,wFlags,&pmt->pt); 2375 2376 #ifdef __WIN32OS2__ 2377 if(fOS2Look) 2378 ptmenu->bTimeToHide = FALSE; 2379 #else 2380 /* In win31, a newly popped menu always remains opened for the next buttonup */ 2381 if(TWEAK_WineLook == WIN31_LOOK) 2382 ptmenu->bTimeToHide = FALSE; 2383 #endif 2374 2384 } 2375 2385 … … 2893 2903 /* In win95 winelook, the selected menu item must be changed every time the 2894 2904 mouse moves. In Win31 winelook, the mouse button has to be held down */ 2895 2896 fEndMenu |= !MENU_MouseMove( &mt, hmenu, wFlags ); 2905 #ifdef __WIN32OS2__ 2906 if ( !fOS2Look || 2907 ( (msg.wParam & MK_LBUTTON) || 2908 ((wFlags & TPM_RIGHTBUTTON) && (msg.wParam & MK_RBUTTON))) ) 2909 fEndMenu |= !MENU_MouseMove( &mt, hmenu, wFlags ); 2910 #else 2911 if ( (TWEAK_WineLook > WIN31_LOOK) || 2912 ( (msg.wParam & MK_LBUTTON) || 2913 ((wFlags & TPM_RIGHTBUTTON) && (msg.wParam & MK_RBUTTON))) ) 2914 fEndMenu |= !MENU_MouseMove( &mt, hmenu, wFlags ); 2915 #endif 2916 2897 2917 } /* switch(msg.message) - mouse */ 2898 2918 }
Note:
See TracChangeset
for help on using the changeset viewer.