Re: Restrining a child window's positioning within parent window
- Posted by don cole <doncole at pacbell.net> Jun 03, 2006
- 578 views
Rad wrote: > > Hi, > > I have a Parent window containing many child windows. > > I want to restrain any child window from being moved out of parent window's > client area (using win32lib). > > How can I do this? > > Regards, > Rad. Hello Rad, I don't know exactly how to do this, but you would have to know, The size of you main window. The size and location of all the children. I would try getChildren() along with getSystemMetrics() to monitor things. Then setRect() to make sure do not exceed you limits. Don Cole Bonds > Ruth. Giants STILL in last place Hmmmmmmmm!