Setting 500 tooltips on 500 text entries on the 500 StaticText's is
not a good way to go.
The attached demos show automatic full-value-display on a
mouse-over. Both apps are 1000% overkill, but the feature you need
is in them (somewhere - I haven’t looked). Just resize the Frame so
that it’s very narrow and the filenames get truncated, then
mouse-over the entries.
The 2nd attached file is pretty much the same as the first but also
shows CPU statistics using the PSUTIL package. It’s a very nice
demo.
Setting 500 tooltips on 500 text entries on the 500 StaticText's is not a
good way to go.
Setting the tooltips is trivial. Using StaticTexts to display a list
of 500 things is where the idea is not as good, I feel. I would say
that is what things like ListCtrl (or some of the advanced versions of
it like ObjectListView or UltimateListCtrl) are for.
The attached demos show automatic full-value-display on a mouse-over. Both
apps are 1000% overkill, but the feature you need is in them (somewhere - I
haven't looked).
Keeping it simple: I think the point is the one I made above, which
is that wxListCtrl automatically displays the full name of the text
within a field if its column is made too narrow to display all the
text.
Che
···
On Tue, Aug 17, 2010 at 3:08 PM, Ray Pasco <pascor@verizon.net> wrote: