- Timestamp:
- Apr 2, 2003, 2:58:02 PM (22 years ago)
- Location:
- trunk/src/user32
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/user32/button.cpp
r8629 r9974 1 /* $Id: button.cpp,v 1.4 6 2002-06-10 09:12:35sandervl Exp $ */1 /* $Id: button.cpp,v 1.47 2003-04-02 12:58:01 sandervl Exp $ */ 2 2 /* File: button.cpp -- Button type widgets 3 3 * … … 335 335 DWORD dwStyle = GetWindowLongA(hwnd,GWL_STYLE); 336 336 337 DefWindowProcA(hwnd,WM_SETTEXT,wParam,lParam);337 LRESULT result = DefWindowProcA(hwnd,WM_SETTEXT,wParam,lParam); 338 338 #ifdef __WIN32OS2__ 339 339 BUTTONINFO* infoPtr = (BUTTONINFO*)GetInfoPtr(hwnd); … … 367 367 if (dwStyle & WS_VISIBLE) PAINT_BUTTON(hwnd,dwStyle & 0x0f,ODA_DRAWENTIRE); 368 368 369 return 0;369 return result; 370 370 } 371 371 -
trunk/src/user32/display.cpp
r6075 r9974 1 /* $Id: display.cpp,v 1.1 2 2001-06-23 07:27:08 achimhaExp $ */1 /* $Id: display.cpp,v 1.13 2003-04-02 12:58:02 sandervl Exp $ */ 2 2 /* 3 3 * Display/Monitor Win32 apis … … 507 507 //****************************************************************************** 508 508 //****************************************************************************** 509 HMONITOR WIN32API MonitorFromRect(LP RECT lprcScreenCoords, DWORD dwFlags)509 HMONITOR WIN32API MonitorFromRect(LPCRECT lprcScreenCoords, DWORD dwFlags) 510 510 { 511 511 dprintf(("USER32: MonitorFromRect (%d,%d)(%d,%d) %x", lprcScreenCoords->left, lprcScreenCoords->top, lprcScreenCoords->right, lprcScreenCoords->bottom, dwFlags)); -
trunk/src/user32/winaccel.cpp
r7409 r9974 1 /* $Id: winaccel.cpp,v 1.1 0 2001-11-21 11:51:39sandervl Exp $ */1 /* $Id: winaccel.cpp,v 1.11 2003-04-02 12:58:02 sandervl Exp $ */ 2 2 /* 3 3 * Win32 accelerator key functions for OS/2 … … 405 405 if( !(accel[i].fVirt & FVIRTKEY) ) { 406 406 ckey = (char) lpaccel[i].key; 407 MultiByteToWideChar(CP_ACP, MB_PRECOMPOSED, &ckey, 1, &accel[i].key, 1);407 MultiByteToWideChar(CP_ACP, MB_PRECOMPOSED, &ckey, 1, (LPWSTR)&accel[i].key, 1); 408 408 } 409 409 else accel[i].key = lpaccel[i].key; -
trunk/src/user32/window.cpp
r9930 r9974 1 /* $Id: window.cpp,v 1.13 3 2003-03-20 13:20:46sandervl Exp $ */1 /* $Id: window.cpp,v 1.134 2003-04-02 12:58:02 sandervl Exp $ */ 2 2 /* 3 3 * Win32 window apis for OS/2 … … 1777 1777 * SwitchToThisWindow (USER32.539) 1778 1778 */ 1779 DWORD WINAPI SwitchToThisWindow( HWND hwnd, BOOL restore )1780 { 1781 returnShowWindow( hwnd, restore ? SW_RESTORE : SW_SHOWMINIMIZED );1779 VOID WINAPI SwitchToThisWindow( HWND hwnd, BOOL restore ) 1780 { 1781 ShowWindow( hwnd, restore ? SW_RESTORE : SW_SHOWMINIMIZED ); 1782 1782 } 1783 1783 //****************************************************************************** -
trunk/src/user32/winkeyboard.cpp
r9922 r9974 1 /* $Id: winkeyboard.cpp,v 1.4 1 2003-03-17 17:59:34sandervl Exp $ */1 /* $Id: winkeyboard.cpp,v 1.42 2003-04-02 12:58:02 sandervl Exp $ */ 2 2 /* 3 3 * Win32 <-> PM key translation … … 1875 1875 //****************************************************************************** 1876 1876 //****************************************************************************** 1877 BOOL WIN32API ActivateKeyboardLayout(HKL hkl, UINT fuFlags)1877 HKL WIN32API ActivateKeyboardLayout(HKL hkl, UINT fuFlags) 1878 1878 { 1879 1879 dprintf(("not implemented\n")); 1880 return (TRUE);1880 return NULL; 1881 1881 } 1882 1882 /*****************************************************************************
Note:
See TracChangeset
for help on using the changeset viewer.