Commit f585c61d authored by Francis Beaudet's avatar Francis Beaudet Committed by Alexandre Julliard

Implemented the Win95 look and feel.

parent 373db5ce
......@@ -2077,7 +2077,7 @@ static BOOL LISTBOX_Create( WND *wnd, LPHEADCOMBO lphc )
if( descr->lphc && (descr->lphc->dwStyle & CBS_DROPDOWN))
{
/* WinWord gets VERY unhappy if we send WM_MEASUREITEM from here */
descr->item_height = lphc->RectButton.bottom - lphc->RectButton.top - 6;
descr->item_height = lphc->fixedOwnerDrawHeight;
}
else
{
......
......@@ -34,9 +34,10 @@ typedef struct
HWND hWndLBox;
UINT wState;
HFONT hFont;
RECT RectCombo;
RECT RectEdit;
RECT RectButton;
RECT textRect;
RECT buttonRect;
RECT droppedRect;
INT fixedOwnerDrawHeight;
INT droppedWidth; /* last two are not used unless set */
INT editHeight; /* explicitly */
} HEADCOMBO,*LPHEADCOMBO;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment