11-05-2008 10:10 AM
11-21-2008 11:28 AM - edited 11-21-2008 11:28 AM
I think you could use GetPanelAttribute(..) to get the top, left, width, and height of the panel, then maximize the panel, then get the top, left, width, and height again. Then you can check to see if the non-maximized panel coordinates falls within the maximized panel coordinates, and if not move the panel after you unmaximize it. I believe this should work, as when the panel is maximized it will be moved to a screen if it is offscreen. You should be able to do all of this before DisplayPanel(...) so the user won't see it.
11-25-2008 10:10 AM