Changeset 14988
- Timestamp:
- Oct 4, 2000, 9:35:31 PM (25 years ago)
- Location:
- tags/trunk/src/user32
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
TabularUnified tags/trunk/src/user32/loadres.cpp ¶
r14202 r14988 1 /* $Id: loadres.cpp,v 1. 29 2000-05-28 16:43:45sandervl Exp $ */1 /* $Id: loadres.cpp,v 1.30 2000-10-04 19:35:30 sandervl Exp $ */ 2 2 3 3 /* … … 410 410 { 411 411 hMapping = VIRTUAL_MapFileA( lpszName, (LPVOID *)&ptr, TRUE); 412 if (hMapping == INVALID_HANDLE_VALUE) return 0; 412 if (hMapping == INVALID_HANDLE_VALUE) { 413 //TODO: last err set to ERROR_OPEN_FAILED if file not found; correct?? 414 dprintf(("LoadBitmapA: failed to load file %s (lasterr=%x)", lpszName, GetLastError())); 415 return 0; 416 } 413 417 info = (BITMAPINFO *)(ptr + sizeof(BITMAPFILEHEADER)); 414 418 } -
TabularUnified tags/trunk/src/user32/pmwindow.cpp ¶
r14762 r14988 1 /* $Id: pmwindow.cpp,v 1.10 3 2000-09-05 19:20:34sandervl Exp $ */1 /* $Id: pmwindow.cpp,v 1.104 2000-10-04 19:35:31 sandervl Exp $ */ 2 2 /* 3 3 * Win32 Window Managment Code for OS/2 … … 1062 1062 /* if successful copy final position back */ 1063 1063 if(!WinEqualRect(0, &rcl, &track.rclTrack)) { 1064 dprintf(("FrameTrackFrame: new (os/2) window rect: (%d,%d)(%d,%d)", track.rclTrack.xLeft, track.rclTrack.yBottom, track.rclTrack.xRight - track.rclTrack.xLeft, track.rclTrack.yTop - track.rclTrack.yBottom)); 1064 1065 if(flags == TF_MOVE) { 1065 1066 WinSetWindowPos(win32wnd->getOS2WindowHandle(), -
TabularUnified tags/trunk/src/user32/win32wbasepos.cpp ¶
r14237 r14988 1 /* $Id: win32wbasepos.cpp,v 1.1 5 2000-06-07 14:51:32sandervl Exp $ */1 /* $Id: win32wbasepos.cpp,v 1.16 2000-10-04 19:35:31 sandervl Exp $ */ 2 2 /* 3 3 * Win32 Window Base Class for OS/2 (nonclient/position methods) … … 139 139 winposCopy = *winpos; 140 140 params.rgrc[1] = *oldWindowRect; 141 params.rgrc[2] = *oldClientRect; 141 142 //client rectangel must be in parent coordinates 142 OffsetRect(oldClientRect, rectWindow.left, rectWindow.top); 143 144 params.rgrc[2] = *oldClientRect; 143 OffsetRect(¶ms.rgrc[2], rectWindow.left, rectWindow.top); 144 145 145 params.lppos = &winposCopy; 146 146 } -
TabularUnified tags/trunk/src/user32/windlg.cpp ¶
r14424 r14988 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.