Changeset 1391 for trunk/src/user32/win32dlg.cpp
- Timestamp:
- Oct 21, 1999, 2:19:29 PM (26 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/user32/win32dlg.cpp
r1346 r1391 1 /* $Id: win32dlg.cpp,v 1.1 8 1999-10-17 20:18:45sandervl Exp $ */1 /* $Id: win32dlg.cpp,v 1.19 1999-10-21 12:19:27 sandervl Exp $ */ 2 2 /* 3 3 * Win32 Dialog Code for OS/2 … … 20 20 #include "oslibmsg.h" 21 21 #include "win32wdesktop.h" 22 #include "controls.h" 22 23 23 24 #define DEFAULT_DLGFONT "9.WarpSans" … … 770 771 if (hwndCurFocus) 771 772 { 772 #if 0 773 WND *wnd = WIN_FindWndPtr( hwndFocus ); 774 775 if( wnd ) 773 Win32BaseWindow *wndFocus = Win32BaseWindow::GetWindowFromHandle(hwndFocus); 774 775 if(wndFocus) 776 776 { 777 777 /* always make combo box hide its listbox control */ 778 if( WIDGETS_IsControl( wnd , BIC32_COMBO) )779 SendMessageA( hwndFocus,CB_SHOWDROPDOWN, FALSE, 0 );778 if( WIDGETS_IsControl( wndFocus, COMBOBOX_CONTROL ) ) 779 wndFocus->SendMessageA(CB_SHOWDROPDOWN, FALSE, 0 ); 780 780 else 781 if( WIDGETS_IsControl( wnd , BIC32_EDIT) &&782 WIDGETS_IsControl( wnd ->parent, BIC32_COMBO))783 SendMessageA(CB_SHOWDROPDOWN, FALSE, 0 );781 if( WIDGETS_IsControl( wndFocus, EDIT_CONTROL ) && 782 WIDGETS_IsControl( wndFocus->getParent(), COMBOBOX_CONTROL )) 783 wndFocus->SendMessageA(CB_SHOWDROPDOWN, FALSE, 0 ); 784 784 } 785 #endif786 785 } 787 786 return DefWindowProcA( msg, wParam, lParam );
Note:
See TracChangeset
for help on using the changeset viewer.