[wxPython-users] wx.Dialog and Hide()
roee88 shlomo
roee88 at gmail.com
Mon Jul 3 10:29:43 PDT 2006
Original:
http://www.wxpython.org/docs/api/wx.Window-class.html
Google Cached:
http://72.14.221.104/custom?q=3Dcache:3UEnlTy2W8AJ:www.wxpython.org/docs/ap=
i/wx.Window-class.html+RegisterHotKey&hl=3Den&ct=3Dclnk&cd=3D6&ie=3DUTF-8
HotKey still respond after calling UnregisterHotKey(id)
[is =3D same id used in RegisterHotKey]
On 7/3/06, Robin Dunn <robin at alldunn.com> wrote:
>
> roee88 shlomo wrote:
> > Sure, but then again right after ShowModal() there must be Destroy() [at
> > as much as I have cheked].
> >
>
> Since you are the one calling Destroy then if you want to support hiding
> without destroying then you need to detect the situation when ShowModal
> returns and handle it appropriately.
>
> > I was able to by-pass this and 95% of all items can be hidden perfectly
> > (the other 5% are wx.MessageDialog and wx.FileDialog which unlike
> > wx.Dialog aren't top-level and unlike children they aren't being hidden
> > when the parent does).
>
> Because they are not wxWindows, but just a wrapper around a native
> platform API that shows the native dialog.
>
>
>
> >
> > *Thank you Robin!*
> >
> > btw,
> > I have noticed RegisterHotKey\UnregisterHotKey does not appear in the
> > wxPython documentation (though it did in the past as it's available
> > through google cached).
>
> Which set of docs?
>
> > Why?
> > The reaon I'm asking is that UnregisterHotKey doesn't work.
> > Coincidence? :-)
>
>
> It's probably not intentional.
>
> --
> Robin Dunn
> Software Craftsman
> http://wxPython.org Java give you jitters? Relax with wxPython!
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: wxPython-users-unsubscribe at lists.wxwidgets.org
> For additional commands, e-mail: wxPython-users-help at lists.wxwidgets.org
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.wxwidgets.org/pipermail/wxpython-users/attachments/200607=
03/e9604681/attachment.htm
More information about the wxpython-users
mailing list