Implemented the Win95 look and feel.
This commit is contained in:
parent
373db5cea2
commit
f585c61dd1
869
controls/combo.c
869
controls/combo.c
File diff suppressed because it is too large
Load Diff
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue