Managing UI Geometry: 3.3 Positioning and Sizing Windows: On-Screen Behavior

Up: GEOS SDK TechDocs | Up | Prev: 3.2 Determining Initial Size | Next: 3.4 Window Look and Feel
HINT_KEEP_INITIALLY_ONSCREEN, HINT_DONT_KEEP_INITIALLY_ONSCREEN, HINT_KEEP_PARTIALLY_ONSCREEN, HINT_DONT_KEEP_PARTIALLY_ONSCREEN, HINT_KEEP_ENTIRELY_ONSCREEN, HINT_KEEP_ENTIRELY_ONSCREEN_WITH_MARGIN, HINT_NOT_MOVABLE
HINT_KEEP_INITIALLY_ONSCREEN
This hint will make the window resize itself to fit entirely within its parent window. Most windows will inherently know how to come up fully on-screen; some specific UIs do not implement it by default for optimization purposes.
HINT_DONT_KEEP_INITIALLY_ONSCREEN
This hint will allow the window to come up whether it will be fully on-screen or not. If the default is to keep the window entirely on-screen and the UI allows this hint, the window will be allowed to open partially off-screen.
HINT_KEEP_PARTIALLY_ONSCREEN
This hint indicates that when the user moves the window, it will be forced to remain partially on-screen.
HINT_DONT_KEEP_PARTIALLY_ONSCREEN
This hint indicates that the user can move the window around the screen at will, even if the window becomes completely obscured under its parent.
HINT_KEEP_ENTIRELY_ONSCREEN
This hint indicates that when the user moves the window, it will be forced to remain entirely on-screen.
HINT_KEEP_ENTIRELY_ONSCREEN_WITH_MARGIN
This hint indicates that when the user moves the window, it will be forced to remain on-screen. An additional margin is added to the edge of the screen to keep the window from touching the edge as well; this margin is defined by the specific UI.
HINT_NOT_MOVABLE
This hint instructs the specific UI to make the windowed object not movable. This hint should be avoided if at all possible.

Up: GEOS SDK TechDocs | Up | Prev: 3.2 Determining Initial Size | Next: 3.4 Window Look and Feel