combo - implement GetComboBoxInfo

Steven Edwards steven_ed4153 at yahoo.com
Mon Mar 14 22:02:00 CST 2005


Changelog:
Christoph von Wittich <Christoph at ApiViewer.de>

Implement GetComboBoxInfo.

Index: dlls/user/combo.c
===================================================================
RCS file: /home/wine/wine/dlls/user/combo.c,v
retrieving revision 1.8
diff -u -r1.8 combo.c
--- dlls/user/combo.c   23 Dec 2004 17:21:05 -0000   1.8
+++ dlls/user/combo.c   15 Mar 2005 03:59:20 -0000
@@ -2296,7 +2296,14 @@
 BOOL WINAPI GetComboBoxInfo(HWND hwndCombo,      /* [in] handle to combo box */
              PCOMBOBOXINFO pcbi   /* [in/out] combo box information */)
 {
-    FIXME("\n");
-    return FALSE;
+    LPHEADCOMBO lphc = (LPHEADCOMBO)GetWindowLongA( hwndCombo, 0 );
+ 
+    pcbi->hwndCombo      =   hwndCombo;
+    pcbi->hwndList      =   lphc->hWndLBox;
+    pcbi->hwndItem      =   lphc->hWndEdit;
+    pcbi->rcItem      =   lphc->textRect;
+    pcbi->rcButton      =   lphc->buttonRect;
+    pcbi->stateButton      =   (DWORD) lphc->wState;
 
+    return TRUE;
 }



		
__________________________________ 
Do you Yahoo!? 
Yahoo! Small Business - Try our new resources site!
http://smallbusiness.yahoo.com/resources/ 



More information about the wine-patches mailing list