Functions – Multiple Contexts (Magic xpa 3.x)
Magic xpa provides the following functions that are available for use in multiple contexts:
CtxGetName – Fetches the name of the current context.
CtxSetName – Sets the name of the current context. This name can be used to post a message to a context.
WinMaximize– Maximizes the Magic xpa frame from where the function was invoked.
WinMinimize – Minimizes the Magic xpa frame from where the function was invoked.
WinRestore – Restores the Magic xpa frame to its original size.
When the WinMaximize, WinMinimize and WinRestore functions are used with an SDI context, they will only be performed on the SDI context. These functions work on the entire MDI frame.