Главная страница
Top.Mail.Ru    Яндекс.Метрика
Текущий архив: 2004.01.16;
Скачать: CL | DM;

Вниз

ComboBox   Найти похожие ветки 

 
k_len ©   (2004-01-05 11:02) [0]

Можно ли в ComboBox выпадающий список делать шире чем сам ComboBox? Если да, то как?


 
Serge ©   (2004-01-05 11:12) [1]

An application sends the CB_SETDROPPEDWIDTH message to set the maximum allowable width, in pixels, of the list box of a combo box with the CBS_DROPDOWN or CBS_DROPDOWNLIST style.

CB_SETDROPPEDWIDTH
wParam = (WPARAM) wWidth, // width of list box, in pixels
lParam = 0, // not used, must be zero


Parameters

wWidth

Specifies the width of the list box, in pixels.



Return Values

If the message is successful, The return value is the new width of the list box.
If the message fails, the return value is CB_ERR.

Remarks

By default, the minimum allowable width of the drop-zdown list box is 0. The width of the list box is either the minimum allowable width or the combo box width, whichever is larger.

See Also

CB_GETDROPPEDWIDTH


 
Anatoly P   (2004-01-05 11:15) [2]

SendMessage(combobox1.Handle, CB_SETDROPPEDWIDTH, твое_число, 0);


 
k_len ©   (2004-01-05 11:50) [3]

Спасибо!!!



Страницы: 1 вся ветка

Текущий архив: 2004.01.16;
Скачать: CL | DM;

Наверх




Память: 0.47 MB
Время: 0.019 c
1-49515
Zilog_
2004-01-03 10:42
2004.01.16
Как создать окно во весь экран?


4-49799
Morpheus
2003-11-13 09:01
2004.01.16
Как считать инфу из консольного процесса ?


1-49629
rolex
2004-01-04 18:40
2004.01.16
Как в ListBox1 в каждую строчку записать имена файлов, из папки F


3-49433
Overstep
2003-12-12 17:57
2004.01.16
Проблема с ADO на клиенте


14-49687
PVOzerski
2003-12-26 12:05
2004.01.16
А где в Питере ёлку подешевле купить можно?