[wxPython-users] wx.Dialog and Hide()
roee88 shlomo
roee88 at gmail.com
Sun Jul 2 10:09:46 PDT 2006
Sure, but then again right after ShowModal() there must be Destroy() [at as
much as I have cheked].
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.Dialogaren't top-level and unlike children they aren't being hidden
when the
parent does).
*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).
Why?
The reaon I'm asking is that UnregisterHotKey doesn't work. Coincidence?
:-)
On 7/1/06, Robin Dunn <robin at alldunn.com> wrote:
>
> roee88 shlomo wrote:
> > win32, latest wxPython.
> >
>
> > If TRUE, the dialog box is shown and brought to the front;
> > otherwise the box is hidden. *_If FALSE and the dialog is
> > modal, control is returned to the calling program._*
>
> There is a big difference between "control returning to the program",
> and the dialog being destroyed. All it does in addition to hiding the
> window is cause ShowModal to return.
>
>
> --
> 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=
02/777d5ebd/attachment.htm
More information about the wxpython-users
mailing list