Re: toolbar hints on second window

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

Judith Evans wrote:

> I've got a minor problem with toolbar
> hints on a secondary window.

I found the problem. In triggerTooltip, there's the test on line 10978:

   size = getClientSize(mainWindow)

If the cursor is outside of the main window on the next clock tick, the
tooltip is removed. Obviously, the use of mainWindow is the problem here.
I'll need to track the parent window of the tooltip's control, and use that
identifier instead. It should be simple enough to code.


> Also I'm having an intermittent problem
> running a win32lib program along with
> Windows Explorer.

Sounds like it's intecepting *all* the system keys, and not only those
directed to the application. That's odd, because the isHotKey and isTabKey
code should only be activated for messages sent to subclassed controls. If
that's the case, adding a check with GetForegroundWindow would probably get
rid of the problem. I'll need to verify this is what's actually happening.
If you can give an example where it *always* breaks, that would be helpful.

Thanks for the bug reports!

Unfortunately, I don't expect to have time until next week to try fixing the
code. Sorry. sad

-- David Cuny

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

Search



Quick Links

User menu

Not signed in.

Misc Menu