Blue Mango Learning Systems GLX Application Framework version 1.2.0 build 1

Printer friendly version

command glxapputil_positionWindowWithinConstraints

Sizes and positions a stack window on screen within the working screen rect.

command glxapputil_positionWindowWithinConstraints pWindowName, pRestoreFromPrefs
Simple parameter. pWindowName Name of the stack to position on the screen. Default is 'this stack'.
Simple parameter. pRestoreFromPrefs If set to true then this function will fetch the last saved position of the window from prefs and use that rect to position the window.

This handler will use uGLXApp["default window width"] and uGLXApp["default window height"] to size a window that is being opened for the first time. This handler is called automatically for windows that have uGLXApp["manage window"] set to true.