Remembering a wxWindow's position and state Re:
GetScreenPosition and iconize
Vadim Zeitlin
vadim at wxwindows.org
Mon Apr 2 14:05:36 PDT 2007
On Mon, 2 Apr 2007 15:26:48 +0200 Volker Bartheld <dr_versaeg at freenet.de> wrote:
VB> The culprit was, that I capture EVT_MOVE in my child windows and forward
VB> the event to the parent with
VB>
VB> void PassphrasePopup::OnMove(wxMoveEvent& e)
VB> {
VB> GetParent()->AddPendingEvent(e);
VB> }
In general it's a bad idea to do things like this so I'd strongly advise
you to find some other way to do what you want, the above will result in
[more] problems later.
Regards,
VZ
--
TT-Solutions: wxWidgets consultancy and technical support
http://www.tt-solutions.com/
More information about the wx-users
mailing list