combo - implement GetComboBoxInfo

Dimitrie O. Paun dpaun at rogers.com
Mon Mar 14 22:55:23 CST 2005


On Mon, Mar 14, 2005 at 08:02:00PM -0800, Steven Edwards wrote:
> -    FIXME("\n");
> -    return FALSE;
> +    LPHEADCOMBO lphc = (LPHEADCOMBO)GetWindowLongA( hwndCombo, 0 );

Please use GetWindowLongW(), the combo box is fully Unicode.

> +    pcbi->hwndCombo      =   hwndCombo;
> +    pcbi->hwndList      =   lphc->hWndLBox;
> +    pcbi->hwndItem      =   lphc->hWndEdit;
> +    pcbi->rcItem      =   lphc->textRect;
> +    pcbi->rcButton      =   lphc->buttonRect;
> +    pcbi->stateButton      =   (DWORD) lphc->wState;

Fancy formatting... Bit yucky, no?

-- 
Dimi.



More information about the wine-devel mailing list