Hello,
The solution:
In order to move a not mapped TGMainFrame, one has to call SetWMPosition
directly after Move:
(...)
SetWindowName("GuiTest");
MapSubwindows();
Resize(GetDefaultSize());
Move(200, 200); // New
SetWMPosition(200, 200); // New
MapWindow();
}
Andreas
----------------------------------------------------------------------
Andreas Zoglauer
MPI fuer extraterrestrische Physik Phone: +49/89-30000-3848
Postfach 1312 Fax: +49/89-30000-3569
85741 Garching, Germany Email: zog@mpe.mpg.de
----------------------------------------------------------------------
This archive was generated by hypermail 2b29 : Sat Jan 04 2003 - 23:50:56 MET