Ignore:
Timestamp:
Oct 4, 2000, 9:35:31 PM (25 years ago)
Author:
sandervl
Message:

more logging

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/user32/windlg.cpp

    r3853 r4421  
    1 /* $Id: windlg.cpp,v 1.17 2000-07-18 18:35:40 sandervl Exp $ */
     1/* $Id: windlg.cpp,v 1.18 2000-10-04 19:35:31 sandervl Exp $ */
    22/*
    33 * Win32 dialog apis for OS/2
     
    210210{
    211211  Win32Dialog *dialog;
     212#ifdef DEBUG
     213  BOOL rc;
     214  RECT dlgRect = *rect;
     215#endif
    212216
    213217    dialog = (Win32Dialog *)Win32BaseWindow::GetWindowFromHandle(hwndDlg);
     
    217221        return 0;
    218222    }
    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));
    220229    return dialog->MapDialogRect(rect);
     230#endif
    221231}
    222232//******************************************************************************
     
    277287        return 0;
    278288    }
    279     dprintf(("USER32:  GetDlgCtrlID\n"));
     289    dprintf(("USER32: GetDlgCtrlID %x", hwnd));
    280290    return dlgcontrol->getWindowId();
    281291}
     
    292302        return 0;
    293303    }
    294     dprintf(("USER32: EndDialog\n"));
     304    dprintf(("USER32: EndDialog %x %d", hwnd, retval));
    295305    return dialog->endDialog(retval);
    296306}
     
    299309BOOL WIN32API CheckDlgButton( HWND hwnd, int id, UINT check)
    300310{
    301     dprintf(("USER32:  CheckDlgButton\n"));
     311    dprintf(("USER32: CheckDlgButton %x %d %d", hwnd, id, check));
    302312
    303313    return (BOOL)SendDlgItemMessageA(hwnd, id, BM_SETCHECK, check,0);
     
    307317BOOL WIN32API CheckRadioButton( HWND hDlg, UINT nIDFirstButton, UINT nIDLastButton, UINT  nIDCheckButton)
    308318{
    309     dprintf(("USER32:  CheckRadioButton\n"));
     319    dprintf(("USER32: CheckRadioButton %x %d %d %d", hDlg, nIDFirstButton, nIDLastButton, nIDCheckButton));
    310320
    311321    //CB: check radio buttons in interval
Note: See TracChangeset for help on using the changeset viewer.