InDesign SDK  20.5
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
IWindowSettings Class Referenceabstract

#include <IWindowSettings.h>

Inheritance diagram for IWindowSettings:
IPMUnknown

Public Member Functions

virtual void SetFrameWindowVisibleState (IWindow::VisibleState state)=0
 
virtual IWindow::VisibleState GetFrameWindowVisibleState () const =0
 
virtual void SetDocumentWindowVisibleState (IWindow::VisibleState state)=0
 
virtual IWindow::VisibleState GetDocumentWindowVisibleState () const =0
 
virtual void SetAppWindowFrame (const GSysRect &rect)=0
 
virtual GSysRect GetAppWindowFrame () const =0
 
- Public Member Functions inherited from IPMUnknown
virtual IPMUnknownQueryInterface (PMIID interfaceID) const =0
 
virtual void AddRef () const =0
 
virtual void Release () const =0
 

Detailed Description

Interface responsible for recording/retrieving window size information. This interface is just for bookkeeping so we're able to restore windows to their last state after the window is closed and opened again. Only useful on WINDOWS

Member Function Documentation

virtual GSysRect IWindowSettings::GetAppWindowFrame () const
pure virtual

Retrieve the window frame for the app frame window.

Returns
the recorded frame
virtual IWindow::VisibleState IWindowSettings::GetDocumentWindowVisibleState () const
pure virtual

Retrieve the window visibility state for the document window.

Returns
state previously recorded state
virtual IWindow::VisibleState IWindowSettings::GetFrameWindowVisibleState () const
pure virtual

Retrieve the window visibility state for the app frame window.

Returns
state previously recorded state
virtual void IWindowSettings::SetAppWindowFrame (const GSysRectrect)
pure virtual

Record the new window frame for the app frame window.

Parameters
rectnew frame we're setting to
virtual void IWindowSettings::SetDocumentWindowVisibleState (IWindow::VisibleState state)
pure virtual

Record the new window visibility for the document window.

Parameters
statenew state we're setting to
virtual void IWindowSettings::SetFrameWindowVisibleState (IWindow::VisibleState state)
pure virtual

Record the new window visibility for the app frame window.

Parameters
statenew state we're setting to