comparison win/dw.c @ 194:37bee5b50bcb

Comboboxes need the CBS_AUTOHSCROLL style on Windows.
author bsmith@81767d24-ef19-dc11-ae90-00e081727c95
date Sat, 18 Jan 2003 19:15:18 +0000
parents 634625c3239d
children f3718165f0b2
comparison
equal deleted inserted replaced
193:efd4703450fa 194:37bee5b50bcb
3963 HWND API dw_combobox_new(char *text, ULONG id) 3963 HWND API dw_combobox_new(char *text, ULONG id)
3964 { 3964 {
3965 HWND tmp = CreateWindow(COMBOBOXCLASSNAME, 3965 HWND tmp = CreateWindow(COMBOBOXCLASSNAME,
3966 text, 3966 text,
3967 WS_CHILD | CBS_DROPDOWN | WS_VSCROLL | 3967 WS_CHILD | CBS_DROPDOWN | WS_VSCROLL |
3968 WS_CLIPCHILDREN | WS_VISIBLE, 3968 WS_CLIPCHILDREN | CBS_AUTOHSCROLL | WS_VISIBLE,
3969 0,0,2000,1000, 3969 0,0,2000,1000,
3970 DW_HWND_OBJECT, 3970 DW_HWND_OBJECT,
3971 (HMENU)id, 3971 (HMENU)id,
3972 DWInstance, 3972 DWInstance,
3973 NULL); 3973 NULL);