Changeset 3388 for trunk/src/user32/win32wbase.cpp
- Timestamp:
- Apr 15, 2000, 5:11:14 PM (25 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/user32/win32wbase.cpp
r3365 r3388 1 /* $Id: win32wbase.cpp,v 1.17 8 2000-04-10 19:40:45sandervl Exp $ */1 /* $Id: win32wbase.cpp,v 1.179 2000-04-15 15:11:14 sandervl Exp $ */ 2 2 /* 3 3 * Win32 Window Base Class for OS/2 … … 2598 2598 BOOL Win32BaseWindow::EnableWindow(BOOL fEnable) 2599 2599 { 2600 return OSLibWinEnableWindow(OS2HwndFrame, fEnable); 2600 BOOL rc; 2601 2602 //return true if previous state was disabled, else false (sdk docs) 2603 rc = (getStyle() & WS_DISABLED) != 0; 2604 if(rc && !fEnable) { 2605 SendMessageA(WM_CANCELMODE, 0, 0); 2606 } 2607 OSLibWinEnableWindow(OS2HwndFrame, fEnable); 2608 return rc; 2601 2609 } 2602 2610 //******************************************************************************
Note:
See TracChangeset
for help on using the changeset viewer.