Implemented the Win95 look and feel.

This commit is contained in:
Francis Beaudet 1999-04-02 10:37:42 +00:00 committed by Alexandre Julliard
parent 373db5cea2
commit f585c61dd1
3 changed files with 659 additions and 293 deletions

File diff suppressed because it is too large Load Diff

View File

@ -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
{

View File

@ -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;