AuthConstraints

This class provides methods that store, sort and display warning messages at the time of an export.

When to Use

This class is used by the MAXExporter class.

Interface Methods

Description

AuthConstraints

Class constructor

~AuthConstraints

Class destructor

ConstraintsFound

Returns whether or not any authoring constraints were found

PushMsg

Adds warning messages to the authoring constraints class

ShowDlg

Displays the authoring constraints dialog

GetInitialDialogSettings

Retrieves the initial state (size, position, etc.) of the dialog and its controls

OnInitDlg

Initializes the dialog

OnSize

Handles dialog resize


AuthConstraints::AuthConstraints()

This is the class constructor.

Parameters:

None

Return Values:

None


AuthConstraints::~AuthConstraints()

This is the class destructor.

Parameters:

None

Return Values:

None


AuthConstraints::ConstraintsFound ( BOOL* pFound )

This method returns whether or not any authoring constraints were found.

Parameters:

 pFound

The status of whether any authoring constraints were found

Return Values


AuthConstraints::PushMsg ( ListID InListID, CIFXString* pInMsg )

This method adds warning messages to the authoring constraints class. These are later displayed by a dialog managed by the authoring constraints class.

Parameters:

InListID

Identifies the list into which the warning message will be inserted

pInMsg

The warning message

Return Values


AuthConstraints::ShowDlg ( HWND hInWndParent )

This method displays the authoring constraints dialog that indicates which resources in the MAX scene may violate authoring constraints

Parameters:

hInWndParent

Handle of the parent window of the dialog

Return Values


AuthConstraints::GetInitialDialogSettings ( HWND hWnd )

This method retrieves the initial state (size, position, etc.) of the dialog and its controls.

Parameters:

hWnd

Handle of the dialog for which information is retrieved

Return Values


AuthConstraints::OnInitDlg ( HWND hWnd, LPARAM lParam )

This method initializes the dialog.

Parameters:

hWnd

Handle to window receiving messages

lParam

See Win32 SDK

Return Values


AuthConstraints::OnSize ( HWND hWnd, U32 uWidth, U32 uHeight )

This method acts as a dialog resize handler. All other controls must be repositioned respectively.

Parameters:

hWnd

Handle of the dialog for which state information is retrieved

uWidth

New width of the dialog

uHeight

New height of the dialog

Return Values

§See asterisked (*) statement at Legal Information © 2001 Intel Corporation.