- Timestamp:
- Nov 24, 2001, 2:55:14 PM (24 years ago)
- Location:
- trunk/src/user32
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/user32/menu.cpp
r7409 r7446 1 /* $Id: menu.cpp,v 1.4 0 2001-11-21 11:51:37sandervl Exp $*/1 /* $Id: menu.cpp,v 1.41 2001-11-24 13:55:13 sandervl Exp $*/ 2 2 /* 3 3 * Menu functions … … 4128 4128 } 4129 4129 retvalue = (HMENU)GetWindowLongA( hWnd, GWL_ID ); 4130 #ifdef __WIN32OS2__ 4130 4131 if(MENU_GetMenu(retvalue) != NULL) { 4131 4132 return retvalue; 4132 4133 } 4133 4134 return 0; 4135 #else 4136 return retvalue; 4137 #endif 4134 4138 } 4135 4139 … … 4335 4339 LPPOPUPMENU menu = MENU_GetMenu(hmenu); 4336 4340 4337 dprintf(("USER32: IsMenu "));4341 dprintf(("USER32: IsMenu %x", hmenu)); 4338 4342 4339 4343 return IS_A_MENU(menu); -
trunk/src/user32/win32wbase.cpp
r7409 r7446 1 /* $Id: win32wbase.cpp,v 1.30 1 2001-11-21 11:51:38sandervl Exp $ */1 /* $Id: win32wbase.cpp,v 1.302 2001-11-24 13:55:13 sandervl Exp $ */ 2 2 /* 3 3 * Win32 Window Base Class for OS/2 … … 3848 3848 } 3849 3849 //****************************************************************************** 3850 //******************************************************************************3851 void Win32BaseWindow::setWindowId(DWORD id)3852 {3853 dwIDMenu = id;3854 }3855 //******************************************************************************3856 3850 //Locates window in linked list and increases reference count (if found) 3857 3851 //Window object must be unreferenced after usage -
trunk/src/user32/win32wbase.h
r7409 r7446 1 /* $Id: win32wbase.h,v 1.13 4 2001-11-21 11:51:38sandervl Exp $ */1 /* $Id: win32wbase.h,v 1.135 2001-11-24 13:55:14 sandervl Exp $ */ 2 2 /* 3 3 * Win32 Window Base Class for OS/2 … … 206 206 void setWindowProc(WNDPROC newproc) { win32wndproc = newproc; }; 207 207 DWORD getWindowId() { return dwIDMenu; }; 208 void setWindowId(DWORD id) ;208 void setWindowId(DWORD id) { dwIDMenu = id; }; 209 209 ULONG getWindowHeight() { return rectWindow.bottom - rectWindow.top; }; 210 210 ULONG getWindowWidth() { return rectWindow.right - rectWindow.left; };
Note:
See TracChangeset
for help on using the changeset viewer.