Public Member Functions | Static Public Attributes

Interface12 Class Reference

This reference page is linked to from the following overview topics: SDK Change Details, Accessing Core 3ds Max Functionality.


Search for all occurrences

Detailed Description

Extends Interface11 Client code should retrieve this interface using GetCOREInterface12.

#include <maxapi.h>

Inheritance diagram for Interface12:
Inheritance graph
[legend]

List of all members.

Public Member Functions

virtual RECT  GetMainWindowClientRect () const =0
  Get the coordinates for the area within the main window available for client UI components.

Static Public Attributes

static CoreExport const
Interface_ID 
kInterface12InterfaceID
  The ID for this interface. Pass this ID to Interface::GetInterface to get an Interface12 pointer.

Member Function Documentation

virtual RECT GetMainWindowClientRect ( ) const [pure virtual]

Get the coordinates for the area within the main window available for client UI components.

The Application Frame reserves a portion of the client area for its own UI. Use the coordinates given by this method to determine the available space for control placement in the main UI. Absolute positioning of controls based on (0,0) is inappropriate and will cause controls to paint under the frame's UI. Similarly, this method should be used instead of GetClientRect, which will return an area including the region under the frame.

Returns:
Main window client area, relative to the main window's upper left corner.

Member Data Documentation

CoreExport const Interface_ID kInterface12InterfaceID [static]

The ID for this interface. Pass this ID to Interface::GetInterface to get an Interface12 pointer.


Interface12 Interface12 Interface12 Interface12 Interface12 Interface12 Interface12 Interface12 Interface12 Interface12
Interface12 Interface12 Interface12 Interface12 Interface12 Interface12 Interface12 Interface12 Interface12 Interface12