![]() | InDesign SDK 20.5 |
#include <IWindowList.h>

Classes | |
| class | iterator |
| class | reverse_iterator |
Public Types | |
| enum | { kDefaultIID = IID_IWINDOWLIST } |
Public Member Functions | |
| virtual void | AddWindow (IWindow *newWin)=0 |
| virtual void | WindowOpened (IWindow *win)=0 |
| virtual void | WindowClosed (IWindow *win)=0 |
| virtual void | CloseWindow (int32 index)=0 |
| virtual void | CloseAll ()=0 |
| virtual IPMUnknown * | GetPMUnknown (SysWindow window)=0 |
| virtual bool16 | IsWindowInList (IWindow *) const =0 |
| iterator | begin () |
| iterator | end () |
| reverse_iterator | rbegin () |
| reverse_iterator | rend () |
| virtual IWindow * | GetNthWindow (int32 n)=0 |
| virtual int32 | WindowCount () const =0 |
| virtual const K2Vector < IWindow * > & | GetZOrderSortedDocumentWindows () const =0 |
| virtual void | MakeDocumentWindowTopmost (IWindow *docWindow)=0 |
Public Member Functions inherited from IPMUnknown | |
| virtual IPMUnknown * | QueryInterface (PMIID interfaceID) const =0 |
| virtual void | AddRef () const =0 |
| virtual void | Release () const =0 |
Friends | |
| class | iterator |
| class | reverse_iterator |
This interface maintains a list of windows. There's an implementation of this interface on the application boss, holding all the application's windows, and another on the document boss, holding all the document's windows.
| pure virtual |
Simply adds the window to the list.
| newWin | the window to add |
| pure virtual |
Close all the windows in the list by creating commands Note: Calling this method on an arbitrary set of IWindows, is not recommended.
| pure virtual |
Close the window at position index by creating a command Note: Calling this method on an arbitrary IWindow, is not recommended.
| index | the index of the window to close |
| pure virtual |
Return the n'th window
| n | which window |
| pure virtual |
Returns the object associated with the SysWindow. Usually this will be an IWindow, although it could be another interface, if the object doesn't have an associated IWindow. Returns nil if the SysWindow is not in the list.
| window | the OS window you're interested in. |
Returns the list of document windows sorted in z-order.
| pure virtual |
Check if a particular window is in this list.
| pure virtual |
Set docWindow to topmost in the sorted list
| pure virtual |
Notify window list that "win" was closed. Adds window to list if not already there, and sends out a broadcast to let others know that a window has been removed from the list.
| win | the window which was closed |
| pure virtual |
Return the number of windows in the list.
| pure virtual |
Notify window list that "win" was opened. Adds window to list if not already there, and sends out a broadcast to let others know that a window has been added to the list.
| win | the window which was opened |