Ignore:
Timestamp:
Feb 5, 2002, 6:59:31 PM (24 years ago)
Author:
sandervl
Message:

message handling changes

File:
1 edited

Legend:

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

    r7404 r7801  
    1 /* $Id: win32dlg.cpp,v 1.75 2001-11-20 15:25:18 sandervl Exp $ */
     1/* $Id: win32dlg.cpp,v 1.76 2002-02-05 17:59:00 sandervl Exp $ */
    22/*
    33 * Win32 Dialog Code for OS/2
     
    7979    }
    8080
     81    dprintf(("Dialog style %x", LOWORD(dlgInfo.style)));
     82
    8183    /* Create custom font if needed */
    8284    if (dlgInfo.style & DS_SETFONT)
     
    248250
    249251    if (hUserFont)
    250         SendInternalMessageA(WM_SETFONT, (WPARAM)hUserFont, 0 );
     252        SendMessageA(getWindowHandle(), WM_SETFONT, (WPARAM)hUserFont, 0 );
    251253
    252254    /* Create controls */
     
    261263
    262264        HWND hwndPreInitFocus = GetFocus();
    263         if(SendInternalMessageA(WM_INITDIALOG, (WPARAM)hwndFocus, param))
     265        if(SendMessageA(getWindowHandle(), WM_INITDIALOG, (WPARAM)hwndFocus, param))
    264266        {
    265267            //SvL: Experiments in NT4 show that dialogs that are children don't
     
    293295        {
    294296            ShowWindow( SW_SHOWNORMAL );    /* SW_SHOW doesn't always work */
    295             UpdateWindow( getWindowHandle() );
     297////Note: this was removed in Wine
     298////            UpdateWindow( getWindowHandle() );
    296299        }
    297300        SetLastError(ERROR_SUCCESS);
     
    357360          {
    358361                if(!(getStyle() & DS_NOIDLEMSG))
    359                     topOwner->SendMessageA(WM_ENTERIDLE,MSGF_DIALOGBOX,getWindowHandle());
     362                    SendMessageA(topOwner->getWindowHandle(), WM_ENTERIDLE,MSGF_DIALOGBOX,getWindowHandle());
    360363                GetMessageA(&msg,0,0,0);
    361364          }
     
    757760        if ((rc == SIMPLEREGION) || (rc == COMPLEXREGION))
    758761        {
    759             HBRUSH hBrush = SendInternalMessageA(WM_CTLCOLORDLG, wParam, getWindowHandle());
     762            HBRUSH hBrush = SendMessageA(getWindowHandle(), WM_CTLCOLORDLG, wParam, getWindowHandle());
    760763            if(GetObjectType(hBrush) != OBJ_BRUSH) {
    761764                DefWndControlColor(CTLCOLOR_DLG, (HDC)wParam);
     
    855858                /* always make combo box hide its listbox control */
    856859                if( CONTROLS_IsControl( wndFocus, COMBOBOX_CONTROL ) )
    857                     wndFocus->SendMessageA(CB_SHOWDROPDOWN, FALSE, 0 );
     860                    SendMessageA(wndFocus->getWindowHandle(), CB_SHOWDROPDOWN, FALSE, 0 );
    858861                else
    859862                if( CONTROLS_IsControl( wndFocus, EDIT_CONTROL ) &&
    860863                    CONTROLS_IsControl( wndFocus->getParent(), COMBOBOX_CONTROL ))
    861                     wndFocus->SendMessageA(CB_SHOWDROPDOWN, FALSE, 0 );
     864                    SendMessageA(wndFocus->getWindowHandle(), CB_SHOWDROPDOWN, FALSE, 0 );
    862865                RELEASE_WNDOBJ(wndFocus);
    863866            }
Note: See TracChangeset for help on using the changeset viewer.