combo - implement GetComboBoxInfo

Alexandre Julliard julliard at winehq.org
Tue Mar 15 12:51:40 CST 2005


Steven Edwards <steven_ed4153 at yahoo.com> writes:

> @@ -2296,7 +2295,18 @@
>  BOOL WINAPI GetComboBoxInfo(HWND hwndCombo,      /* [in] handle to combo box */
>               PCOMBOBOXINFO pcbi   /* [in/out] combo box information */)
>  {
> -    FIXME("\n");
> -    return FALSE;
> +    if (IsWindow(hwndCombo)) 
> +    {
> +        LPHEADCOMBO lphc = (LPHEADCOMBO)GetWindowLongPtrW( hwndCombo, 0 );

The IsWindow check is useless, what you need is to verify that it's
really a combobox. The right way to do that is probably to send a
CB_GETCOMBOBOXINFO message instead.

-- 
Alexandre Julliard
julliard at winehq.org



More information about the wine-devel mailing list