Вниз
Скачать: 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 вся ветка

Скачать: CL | DM;



Память: 0.45 MB
Время: 0.021 c
1-49571
Mihey
2004-01-05 20:45
2004.01.16
Снять выделение при загрузке формы


1-49570
raining day
2004-01-05 21:07
2004.01.16
Не могу нормально записать инфу в реестр


1-49610
alexEagle
2004-01-06 14:33
2004.01.16
Плавающие окна в Делфи


3-49425
chtr
2003-12-19 08:07
2004.01.16
Использование AS в инструкции JOIN


8-49650
Lev
2003-09-12 13:10
2004.01.16
Утечка памяти при




   Наверх