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

#include <IToolSizer.h>

Inheritance diagram for IToolSizer:
IPMUnknown

Public Types

enum  { kDefaultIID = IID_ITOOLSIZER }
 

Public Member Functions

virtual void AdjustToolSizeForOrientation (IUserInterfacePreferences::ToolboxState newOrientation)=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 for notifying tools that toolbox orientation is changing

Member Function Documentation

virtual void IToolSizer::AdjustToolSizeForOrientation (IUserInterfacePreferences::ToolboxState newOrientation)
pure virtual

Adjust to the new toolbox orientation. Some tools have to resize or do some other fancy stuff to fit nicely into different toolbox shapes.

Parameters
newOrientationwhich state we're setting to