[pythonwin] popup menu problems (was: [Pythonwin] Help needed creating a Window)
Mark Hammond
MHammond at skippinet.com.au
Tue Jun 22 10:11:42 EDT 1999
Dave Kirby wrote in message <376f6b7a.760974 at nnrp.uk.insnet.net>...
>way. I only found it when I enclosed the line in a try/except clause.
>I *think* the exception is getting caught & thrown away somewhere in
>the pythonwin code since I didnt have any try clauses in my code at
>that point.
Eeek. If you can determine this is true, I would like to know about it.
>level window to process the WM_CANCELMODE message. Is there a way to
>register my icon window to handle this message, or do I need to go the
win32ui.HookMessage() should do the job?
>[1] well, almost - further experimentation shows that it only closes
>the menu if I click within the Pythonwin window, rather than anywhere
>on the screen.
Well, maybe you should set the owner to the desktop?
Mark.
More information about the Python-list
mailing list