Re: win32lib question - David Cuny

new topic     » goto parent     » topic index » view thread      » older message » newer message

Judith wondered:

> What I'm aiming for is to put little rectangles with text under
> the toolbar that tells me what the glyph "stands for."

I'm in the middle of coding tooltips right now. I've got the structures
working, but they aren't responding. I'm not sure if I have to route events to
the tooltip structure, or what.

It's a lot of work to get some of these common controls working, and I'm really
not sure it's worth the effort - it may be easier to emulate the controls,
since I've already subclassed all the controls.

You shouldn't do a modal grab to get the mouse - this would cause too many
other side effects. The better way to emulate it would be to add some code in
the subclassed() loop, along with a timer. If the mouse has been sitting over a
control for a certain amount of time, pop up the tooltip. It is removed by the
mouse moving, a button being pressed, etc.

In any event, I hope to have tooltips for all controls working in a few days -
hopefully, without emulation.

-- David Cuny

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu