Length content of a combo box

netfreaky

New Member
Hello,

In my program, I have to display some large things (100chars) in a combo box. Problem is that the combo's can't be longer (the screen is completely full).

Can the contents of the combo box (if you click on the arrow) be longer than the combo box itself?

Screenshot of the combo boxes:
iAccident.JPG


Thanks,

Netfreaky
 
Yes.

Example:
http://www.peg.com/lists/peg/history/200410/msg00348.html

2 slight omissions:

1. vDelimiter needs defining and initialising.

2. After filling the combo:
RUN ComboAutoWidth(cbMyCombo:HANDLE).

Thanks, that did the trick!

I set it in an procedure file (with the sendmessageA in an include) and added an input parameter for the delimiter, so we can use this for any combo box we have... Later, i'll search how to set a maximum length, because if the length doesn't fit the screen, the scroll bar isn't visible.
 
Indeed, it is just a visual representation through Windows for the attribute. The attribute ComboScreenValue is not limited by the widget length. The widget is resizable, the attribute length is NOT dynamic it is a static value.
 
Back
Top