Главная страница
    Top.Mail.Ru    Яндекс.Метрика
Форум: "Основная";
Текущий архив: 2004.01.16;
Скачать: [xml.tar.bz2];

Вниз

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;
Скачать: [xml.tar.bz2];

Наверх





Память: 0.44 MB
Время: 0.012 c
14-49717
TSa
2003-12-19 00:02
2004.01.16
Delphi 8


3-49391
Крутыш
2003-12-20 15:10
2004.01.16
Action какие может принимать значения


3-49437
Прямой
2003-12-18 14:24
2004.01.16
TADOStoredProc как правильно?


14-49752
Serginio666
2003-12-24 13:52
2004.01.16
Когда Форум По Delphi.Net откроется


7-49784
DimaK
2003-10-12 19:39
2004.01.16
MessageBox





Afrikaans Albanian Arabic Armenian Azerbaijani Basque Belarusian Bulgarian Catalan Chinese (Simplified) Chinese (Traditional) Croatian Czech Danish Dutch English Estonian Filipino Finnish French
Galician Georgian German Greek Haitian Creole Hebrew Hindi Hungarian Icelandic Indonesian Irish Italian Japanese Korean Latvian Lithuanian Macedonian Malay Maltese Norwegian
Persian Polish Portuguese Romanian Russian Serbian Slovak Slovenian Spanish Swahili Swedish Thai Turkish Ukrainian Urdu Vietnamese Welsh Yiddish Bengali Bosnian
Cebuano Esperanto Gujarati Hausa Hmong Igbo Javanese Kannada Khmer Lao Latin Maori Marathi Mongolian Nepali Punjabi Somali Tamil Telugu Yoruba
Zulu
Английский Французский Немецкий Итальянский Португальский Русский Испанский