- Timestamp:
- Jan 11, 2000, 12:37:24 AM (26 years ago)
- Location:
- trunk/src/user32/new
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/user32/new/win32wbase.cpp
r2400 r2401 1 /* $Id: win32wbase.cpp,v 1. 29 2000-01-10 23:29:14sandervl Exp $ */1 /* $Id: win32wbase.cpp,v 1.30 2000-01-10 23:37:23 sandervl Exp $ */ 2 2 /* 3 3 * Win32 Window Base Class for OS/2 … … 3086 3086 //****************************************************************************** 3087 3087 //****************************************************************************** 3088 HMENU Win32BaseWindow::GetSystemMenu(BOOL fRevert)3089 {3090 if(fRevert == FALSE)3091 {3092 if(hSysMenu) {3093 DestroyMenu(hSysMenu);3094 }3095 hSysMenu = LoadMenuA(GetModuleHandleA("USER32"), (LPCSTR)"SYSMENU");3096 return hSysMenu;3097 }3098 else {//revert back to default system menu3099 if(hSysMenu) {3100 DestroyMenu(hSysMenu);3101 hSysMenu = 0;3102 }3103 return 0;3104 }3105 }3106 //******************************************************************************3107 //******************************************************************************3108 3088 BOOL Win32BaseWindow::SetIcon(HICON hIcon) 3109 3089 { -
trunk/src/user32/new/win32wbase.h
r2400 r2401 1 /* $Id: win32wbase.h,v 1.2 2 2000-01-10 23:29:15sandervl Exp $ */1 /* $Id: win32wbase.h,v 1.23 2000-01-10 23:37:24 sandervl Exp $ */ 2 2 /* 3 3 * Win32 Window Base Class for OS/2 … … 160 160 HMENU GetMenu() { return hMenu; }; 161 161 VOID SetMenu(HMENU newMenu) { hMenu = newMenu; }; 162 HMENU GetSystemMenu(BOOL fRevert);163 HMENU getSystemMenu(){ return hSysMenu; }162 void SetSysMenu(HMENU hSystemMenu) { hSysMenu = hSystemMenu; }; 163 HMENU GetSysMenu() { return hSysMenu; } 164 164 165 165 BOOL SetIcon(HICON hIcon);
Note:
See TracChangeset
for help on using the changeset viewer.