You can find out and then change which document window is active. Note that these functions do not work with external document windows.
To request which document window is active:
· Use the IN_GetActiveDocumentWindow function.
To activate a document window:
· Use the IN_SetActiveDocumentWindow function.
To receive an advise when an Imagenation user changes the active document window, register the NotifyChangeDocwin notification.
See also