Prevent MDI child from going outside visible area of MDI parent?
2005-05-22 01:42:44 AM
cppbuilder107
I've been looking every where for a solution (docs (cpp, vcl, win32
sdk), google (groups, www)) but can't seem to find anything useful.
I want to prevent my MDI chidden from being able to move outside the
visible (client) area. In other words cage them inside the viewable
area. I've seen some apps do this, and even have a snapping/magnet
effect when one of the child's edges are very close to one of the inner
edges of the parent.
How is this done?
Thank you very much.