- Timestamp:
- Sep 5, 1999, 7:11:25 PM (26 years ago)
- Location:
- trunk/src/user32/new
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/user32/new/pmwindow.cpp
r822 r839 1 /* $Id: pmwindow.cpp,v 1.2 8 1999-09-04 19:51:46sandervl Exp $ */1 /* $Id: pmwindow.cpp,v 1.29 1999-09-05 17:11:24 sandervl Exp $ */ 2 2 /* 3 3 * Win32 Window Managment Code for OS/2 … … 526 526 527 527 if(!(fl & KC_CHAR)) { 528 dprintf(("WM_CHAR: no valid character code"));528 // dprintf(("WM_CHAR: no valid character code")); 529 529 goto RunDefWndProc; 530 530 } -
trunk/src/user32/new/user32.cpp
r821 r839 1 /* $Id: user32.cpp,v 1.1 8 1999-09-04 19:42:28sandervl Exp $ */1 /* $Id: user32.cpp,v 1.19 1999-09-05 17:11:24 sandervl Exp $ */ 2 2 3 3 /* … … 174 174 BOOL WIN32API IsRectEmpty( const RECT * lprc) 175 175 { 176 #ifdef DEBUG177 WriteLog("USER32: IsRectEmpty\n");178 #endif179 176 if (!lprc) 180 177 { … … 244 241 BOOL WIN32API SetRectEmpty( PRECT lprc) 245 242 { 246 #ifdef DEBUG247 WriteLog("USER32: SetRectEmpty\n");248 #endif249 243 if (!lprc) 250 244 { -
trunk/src/user32/new/win32dlg.cpp
r835 r839 1 /* $Id: win32dlg.cpp,v 1. 5 1999-09-05 15:53:09sandervl Exp $ */1 /* $Id: win32dlg.cpp,v 1.6 1999-09-05 17:11:25 sandervl Exp $ */ 2 2 /* 3 3 * Win32 Dialog Code for OS/2 … … 190 190 191 191 /* Create controls */ 192 //testesteest 192 193 if (createControls(dlgTemplate, hInst)) 193 194 { 194 195 /* Send initialisation messages and set focus */ 195 196 hwndFocus = GetNextDlgTabItem( getWindowHandle(), 0, FALSE ); 196 197 if (::SendMessageA(hwndFocus, WM_INITDIALOG, (WPARAM)hwndFocus, param ))198 SetFocus( hwndFocus );199 200 197 if (dlgInfo.style & WS_VISIBLE && !(getStyle() & WS_VISIBLE)) 201 198 { … … 241 238 ShowWindow( SW_SHOW ); 242 239 243 while (OSLibWinPeekMsg(&msg, getOS2FrameWindowHandle(), topOwner->getOS2FrameWindowHandle(), 244 0, 0, MSG_REMOVE)) 240 while (TRUE) { 245 241 // while (OSLibWinPeekMsg(&msg, getWindowHandle(), owner, MSGF_DIALOGBOX, 246 242 // MSG_REMOVE, !(getStyle() & DS_NOIDLEMSG), NULL )) 247 { 248 if (!IsDialogMessageA( getWindowHandle(), &msg))243 // if(OSLibWinPeekMsg(&msg, topOwner->getOS2FrameWindowHandle(), 0, 0, MSG_REMOVE)) 244 if(OSLibWinPeekMsg(&msg, 0, 0, 0, MSG_REMOVE)) 249 245 { 250 TranslateMessage( &msg ); 251 DispatchMessageA( &msg ); 246 if(msg.message == WM_QUIT) { 247 dprintf(("Win32Dialog::doDialogBox: received WM_QUIT")); 248 break; 249 } 250 if (!IsDialogMessageA( getWindowHandle(), &msg)) 251 { 252 TranslateMessage( &msg ); 253 DispatchMessageA( &msg ); 254 } 255 if (dialogFlags & DF_END) break; 252 256 } 253 if (dialogFlags & DF_END) break; 257 else { 258 if(!(getStyle() & DS_NOIDLEMSG)) { 259 topOwner->SendMessageA(WM_ENTERIDLE, MSGF_DIALOGBOX, getWindowHandle()); 260 } 261 } 254 262 } 255 263 topOwner->EnableWindow( TRUE ); … … 923 931 BOOL Win32Dialog::endDialog(int retval) 924 932 { 933 dialogFlags |= DF_END; 934 idResult = retval; 925 935 return TRUE; 926 936 }
Note:
See TracChangeset
for help on using the changeset viewer.