Changeset 1256 for trunk/src/user32/uitools.cpp
- Timestamp:
- Oct 12, 1999, 4:47:24 PM (26 years ago)
- File:
-
- 1 edited
-
trunk/src/user32/uitools.cpp (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/user32/uitools.cpp
r1243 r1256 1 /* $Id: uitools.cpp,v 1.1 2 1999-10-10 11:26:34 cbratschiExp $ */1 /* $Id: uitools.cpp,v 1.13 1999-10-12 14:47:22 sandervl Exp $ */ 2 2 /* 3 3 * User Interface Functions … … 14 14 #include "winuser.h" 15 15 #include "user32.h" 16 #include "win32wbase.h" 16 17 17 18 static const WORD wPattern_AA55[8] = { 0xaaaa, 0x5555, 0xaaaa, 0x5555, … … 1781 1782 //****************************************************************************** 1782 1783 //****************************************************************************** 1783 BOOL WIN32API DrawMenuBar( HWND arg1) 1784 { 1785 #ifdef DEBUG 1786 WriteLog("USER32: DrawMenuBar\n"); 1787 #endif 1788 return O32_DrawMenuBar(arg1); 1784 BOOL WIN32API DrawMenuBar(HWND hwnd) 1785 { 1786 Win32BaseWindow *window; 1787 1788 window = Win32BaseWindow::GetWindowFromHandle(hwnd); 1789 if(!window) { 1790 dprintf(("DrawMenuBar, window %x not found", hwnd)); 1791 SetLastError(ERROR_INVALID_WINDOW_HANDLE); 1792 return 0; 1793 } 1794 dprintf(("DrawMenuBar\n")); 1795 return O32_DrawMenuBar(window->getOS2FrameWindowHandle()); 1789 1796 } 1790 1797 //****************************************************************************** … … 2032 2039 INT nLen; 2033 2040 2034 nLen = O32_GetWindowText ( hwnd,2041 nLen = O32_GetWindowText (Win32BaseWindow::Win32ToOS2FrameHandle(hwnd), 2035 2042 szText, 2036 2043 128);
Note:
See TracChangeset
for help on using the changeset viewer.
