Changeset 741 for trunk/src/user32/new/win32dlg.cpp
- Timestamp:
- Aug 30, 1999, 2:00:12 PM (26 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/user32/new/win32dlg.cpp
r300 r741 1 /* $Id: win32dlg.cpp,v 1. 1 1999-07-14 08:35:37sandervl Exp $ */1 /* $Id: win32dlg.cpp,v 1.2 1999-08-30 11:59:53 sandervl Exp $ */ 2 2 /* 3 3 * Win32 Dialog Code for OS/2 … … 18 18 //****************************************************************************** 19 19 //****************************************************************************** 20 Win32Dialog::Win32Dialog() : Win32 Window(OBJTYPE_DIALOG)20 Win32Dialog::Win32Dialog() : Win32BaseWindow(OBJTYPE_DIALOG) 21 21 { 22 22 } … … 25 25 Win32Dialog::~Win32Dialog() 26 26 { 27 27 28 28 } 29 29 //****************************************************************************** … … 42 42 switch(index) 43 43 { 44 45 46 47 48 49 50 51 52 53 54 55 56 57 return Win32Window::SetWindowLongA(index, value);44 case DWL_DLGPROC: 45 oldval = (LONG)Win32DlgProc; 46 Win32DlgProc = (DLGPROC)index; 47 return oldval; 48 case DWL_MSGRESULT: 49 oldval = msgResult; 50 msgResult = value; 51 return oldval; 52 case DWL_USER: 53 oldval = userDlgData; 54 userDlgData = value; 55 return oldval; 56 default: 57 return Win32BaseWindow::SetWindowLongA(index, value); 58 58 } 59 59 } … … 64 64 switch(index) 65 65 { 66 67 68 69 70 71 72 73 return Win32Window::GetWindowLongA(index);66 case DWL_DLGPROC: 67 return (ULONG)Win32DlgProc; 68 case DWL_MSGRESULT: 69 return msgResult; 70 case DWL_USER: 71 return userDlgData; 72 default: 73 return Win32BaseWindow::GetWindowLongA(index); 74 74 } 75 75 }
Note:
See TracChangeset
for help on using the changeset viewer.