Changeset 7801 for trunk/src/user32/win32dlg.cpp
- Timestamp:
- Feb 5, 2002, 6:59:31 PM (24 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/user32/win32dlg.cpp
r7404 r7801 1 /* $Id: win32dlg.cpp,v 1.7 5 2001-11-20 15:25:18sandervl Exp $ */1 /* $Id: win32dlg.cpp,v 1.76 2002-02-05 17:59:00 sandervl Exp $ */ 2 2 /* 3 3 * Win32 Dialog Code for OS/2 … … 79 79 } 80 80 81 dprintf(("Dialog style %x", LOWORD(dlgInfo.style))); 82 81 83 /* Create custom font if needed */ 82 84 if (dlgInfo.style & DS_SETFONT) … … 248 250 249 251 if (hUserFont) 250 Send InternalMessageA(WM_SETFONT, (WPARAM)hUserFont, 0 );252 SendMessageA(getWindowHandle(), WM_SETFONT, (WPARAM)hUserFont, 0 ); 251 253 252 254 /* Create controls */ … … 261 263 262 264 HWND hwndPreInitFocus = GetFocus(); 263 if(Send InternalMessageA(WM_INITDIALOG, (WPARAM)hwndFocus, param))265 if(SendMessageA(getWindowHandle(), WM_INITDIALOG, (WPARAM)hwndFocus, param)) 264 266 { 265 267 //SvL: Experiments in NT4 show that dialogs that are children don't … … 293 295 { 294 296 ShowWindow( SW_SHOWNORMAL ); /* SW_SHOW doesn't always work */ 295 UpdateWindow( getWindowHandle() ); 297 ////Note: this was removed in Wine 298 //// UpdateWindow( getWindowHandle() ); 296 299 } 297 300 SetLastError(ERROR_SUCCESS); … … 357 360 { 358 361 if(!(getStyle() & DS_NOIDLEMSG)) 359 topOwner->SendMessageA(WM_ENTERIDLE,MSGF_DIALOGBOX,getWindowHandle());362 SendMessageA(topOwner->getWindowHandle(), WM_ENTERIDLE,MSGF_DIALOGBOX,getWindowHandle()); 360 363 GetMessageA(&msg,0,0,0); 361 364 } … … 757 760 if ((rc == SIMPLEREGION) || (rc == COMPLEXREGION)) 758 761 { 759 HBRUSH hBrush = Send InternalMessageA(WM_CTLCOLORDLG, wParam, getWindowHandle());762 HBRUSH hBrush = SendMessageA(getWindowHandle(), WM_CTLCOLORDLG, wParam, getWindowHandle()); 760 763 if(GetObjectType(hBrush) != OBJ_BRUSH) { 761 764 DefWndControlColor(CTLCOLOR_DLG, (HDC)wParam); … … 855 858 /* always make combo box hide its listbox control */ 856 859 if( CONTROLS_IsControl( wndFocus, COMBOBOX_CONTROL ) ) 857 wndFocus->SendMessageA(CB_SHOWDROPDOWN, FALSE, 0 );860 SendMessageA(wndFocus->getWindowHandle(), CB_SHOWDROPDOWN, FALSE, 0 ); 858 861 else 859 862 if( CONTROLS_IsControl( wndFocus, EDIT_CONTROL ) && 860 863 CONTROLS_IsControl( wndFocus->getParent(), COMBOBOX_CONTROL )) 861 wndFocus->SendMessageA(CB_SHOWDROPDOWN, FALSE, 0 );864 SendMessageA(wndFocus->getWindowHandle(), CB_SHOWDROPDOWN, FALSE, 0 ); 862 865 RELEASE_WNDOBJ(wndFocus); 863 866 }
Note:
See TracChangeset
for help on using the changeset viewer.