- Timestamp:
- Jul 8, 2001, 10:06:15 AM (24 years ago)
- Location:
- trunk/src/user32
- Files:
-
- 2 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 } -
trunk/src/user32/scroll.cpp
r6043 r6243 1 /* $Id: scroll.cpp,v 1.4 1 2001-06-18 09:00:50sandervl Exp $ */1 /* $Id: scroll.cpp,v 1.42 2001-07-08 08:06:15 sandervl Exp $ */ 2 2 /* 3 3 * Scrollbar control … … 21 21 #include "oslibwin.h" 22 22 #include "initterm.h" 23 #include "pmwindow.h" 23 24 24 25 #define DBG_LOCALLOG DBG_scroll … … 994 995 UINT pos; 995 996 997 #ifdef __WIN32OS2__ 998 if (!SCROLL_PtInRectEx( &rect, pt, vertical ) && !fOS2Look) pos = lastClickPos; 999 #else 996 1000 if (!SCROLL_PtInRectEx( &rect, pt, vertical )) pos = lastClickPos; 1001 #endif 997 1002 else 998 1003 {
Note:
See TracChangeset
for help on using the changeset viewer.