Implemented the Win95 look and feel.

oldstable
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)) if( descr->lphc && (descr->lphc->dwStyle & CBS_DROPDOWN))
{ {
/* WinWord gets VERY unhappy if we send WM_MEASUREITEM from here */ /* 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 else
{ {

View File

@ -34,9 +34,10 @@ typedef struct
HWND hWndLBox; HWND hWndLBox;
UINT wState; UINT wState;
HFONT hFont; HFONT hFont;
RECT RectCombo; RECT textRect;
RECT RectEdit; RECT buttonRect;
RECT RectButton; RECT droppedRect;
INT fixedOwnerDrawHeight;
INT droppedWidth; /* last two are not used unless set */ INT droppedWidth; /* last two are not used unless set */
INT editHeight; /* explicitly */ INT editHeight; /* explicitly */
} HEADCOMBO,*LPHEADCOMBO; } HEADCOMBO,*LPHEADCOMBO;