horizontal scrollbars and/or "tooltips" on wxComboBox

Chris Barker wrote:

Will Sadkin wrote:
> the wxComboBoxes don't have a
> horizontal scrollbar for the showing the choices if any
> of them are too big to fit in the fixed size of the control.

My way to solve this is to use sizers to size the combo box so it's
always big enough to hold the choices.

I know that's not what you were looking for, but it may be worth
considering.

Unfortunately, this is not possible, as the user can effectively
add new choices (ie. the choices change dynamically as the
user uses the GUI), and the user can enter strings that don't
fit in the resulting drop-downs. I really don't want to impose
a hard limit on the names used to describe the items in the
combobox' list, and so although I've made the combos as big
as I can with the screen real estate available, this doesn't
really deal with the problem.

Any other suggestions?
(Ideally, I'd like a way to have a popup box containing the
entire text to show up over the choice as you mouse over it...
Anyone got such a goody handy?)

/Will Sadkin
Parlance Corporation
www.nameconnector.com

Will Sadkin wrote:

Unfortunately, this is not possible, as the user can effectively
add new choices (ie. the choices change dynamically as the
user uses the GUI), and the user can enter strings that don't
fit in the resulting drop-downs.

You can set it up so the combo re-sizes when the choices are changed,
but it could start to look ridiculous if the choices got too long.

-Chris

ยทยทยท

--
Christopher Barker, Ph.D.
Oceanographer
                                        
NOAA/OR&R/HAZMAT (206) 526-6959 voice
7600 Sand Point Way NE (206) 526-6329 fax
Seattle, WA 98115 (206) 526-6317 main reception

Chris.Barker@noaa.gov