G
Gijs Beukenoot
Hi all,
Trying to implement the fancy tooltips from Stephen Leban's site, I ran
into a little problem...
Basically, it's due to the fact that the Access listbox control doesn't
have their own windowhandle exposed so Stephens code uses a couple of
lines of code to find all listboxes and, based on their placement,
retreives the windowhandle. Works good in not too complicated forms.
However, I have a form with a tabcontrol and 3 (or more) tabs and on
each tab is a listbox in exactly the same place. In this case, Stephens
code always finds the same listbox...
I've been puzzeling on this for a couple of hours but so far I haven't
been able to get a solution besides re-designing my forms (moving the
listboxes to other positions or even to subforms and see if that makes
a difference) or just not using it at all.
I might be able to make the listboxes very small in the load-event and
then resize them after implementing the tooltip but I wonder if anyone
has ran into the same problem and perhaps even found a solution for it.
Thanks in advance,
GB
Trying to implement the fancy tooltips from Stephen Leban's site, I ran
into a little problem...
Basically, it's due to the fact that the Access listbox control doesn't
have their own windowhandle exposed so Stephens code uses a couple of
lines of code to find all listboxes and, based on their placement,
retreives the windowhandle. Works good in not too complicated forms.
However, I have a form with a tabcontrol and 3 (or more) tabs and on
each tab is a listbox in exactly the same place. In this case, Stephens
code always finds the same listbox...
I've been puzzeling on this for a couple of hours but so far I haven't
been able to get a solution besides re-designing my forms (moving the
listboxes to other positions or even to subforms and see if that makes
a difference) or just not using it at all.
I might be able to make the listboxes very small in the load-event and
then resize them after implementing the tooltip but I wonder if anyone
has ran into the same problem and perhaps even found a solution for it.
Thanks in advance,
GB