Trouble positioning window

Jeff Peery jeffpeery at yahoo.com
Tue Mar 4 13:29:06 PST 2008


Hello,
  I'm having difficulty positioning a window onto of a MDI child frame. I've simply created something like the wxTipWindow using a wx.Frame and I want to position it at the same location as its parent (MDIChildFrame). 
   
  position = self.mdichildframe.GetPosition()
  self.tipwindow.Move(position)
   
  I am thinking this should put the origins the tipwindow at the origin of the mdichildframe. but it isn't even close. Also I didn't see anywhere in the docs that discussed what these positions are in reference to. if I use a GetPosition() does it return a position in reference to the parent window or the screen or what...? 
   
  Thanks!
   
  Jeff 

       
---------------------------------
Looking for last minute shopping deals?  Find them fast with Yahoo! Search.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.wxwidgets.org/pipermail/wxpython-users/attachments/20080304/da10c8e3/attachment.htm


More information about the wxpython-users mailing list