Position of a GUI window on the screen

From: ROHLFS Reiner (Reiner.Rohlfs@obs.unige.ch)
Date: Wed Mar 15 2000 - 13:47:14 MET


Hi ROOT team,

How can I get the position of a GUI window (TGMainFrame) on the screen?

The function TVirtualX::GetWindowSize() returns always 0 for the x an y
parameter, independent of the position of the window on the screen.

The TGMainFrame class has a SetWMPosition() - method but no GetWMPosition().

Thanks Reiner.



This archive was generated by hypermail 2b29 : Tue Jan 02 2001 - 11:50:21 MET