Changeset 4421 for trunk/src/user32/windlg.cpp
- Timestamp:
- Oct 4, 2000, 9:35:31 PM (25 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/user32/windlg.cpp
r3853 r4421 1 /* $Id: windlg.cpp,v 1.1 7 2000-07-18 18:35:40sandervl Exp $ */1 /* $Id: windlg.cpp,v 1.18 2000-10-04 19:35:31 sandervl Exp $ */ 2 2 /* 3 3 * Win32 dialog apis for OS/2 … … 210 210 { 211 211 Win32Dialog *dialog; 212 #ifdef DEBUG 213 BOOL rc; 214 RECT dlgRect = *rect; 215 #endif 212 216 213 217 dialog = (Win32Dialog *)Win32BaseWindow::GetWindowFromHandle(hwndDlg); … … 217 221 return 0; 218 222 } 219 dprintf(("USER32: MapDialogRect\n")); 223 #ifdef DEBUG 224 rc = dialog->MapDialogRect(rect); 225 dprintf(("USER32: MapDialogRect %x (%d,%d)(%d,%d) -> (%d,%d)(%d,%d)", hwndDlg, dlgRect.left, dlgRect.top, dlgRect.right, dlgRect.bottom, rect->left, rect->top, rect->right, rect->bottom)); 226 return rc; 227 #else 228 dprintf(("USER32: MapDialogRect %x (%d,%d)(%d,%d)", hwndDlg, rect->left, rect->top, rect->right, rect->bottom)); 220 229 return dialog->MapDialogRect(rect); 230 #endif 221 231 } 222 232 //****************************************************************************** … … 277 287 return 0; 278 288 } 279 dprintf(("USER32: GetDlgCtrlID\n"));289 dprintf(("USER32: GetDlgCtrlID %x", hwnd)); 280 290 return dlgcontrol->getWindowId(); 281 291 } … … 292 302 return 0; 293 303 } 294 dprintf(("USER32: EndDialog \n"));304 dprintf(("USER32: EndDialog %x %d", hwnd, retval)); 295 305 return dialog->endDialog(retval); 296 306 } … … 299 309 BOOL WIN32API CheckDlgButton( HWND hwnd, int id, UINT check) 300 310 { 301 dprintf(("USER32: CheckDlgButton\n"));311 dprintf(("USER32: CheckDlgButton %x %d %d", hwnd, id, check)); 302 312 303 313 return (BOOL)SendDlgItemMessageA(hwnd, id, BM_SETCHECK, check,0); … … 307 317 BOOL WIN32API CheckRadioButton( HWND hDlg, UINT nIDFirstButton, UINT nIDLastButton, UINT nIDCheckButton) 308 318 { 309 dprintf(("USER32: CheckRadioButton\n"));319 dprintf(("USER32: CheckRadioButton %x %d %d %d", hDlg, nIDFirstButton, nIDLastButton, nIDCheckButton)); 310 320 311 321 //CB: check radio buttons in interval
Note:
See TracChangeset
for help on using the changeset viewer.