Public Member Functions

ParamMapUserDlgProc Class Reference

This reference page is linked to from the following overview topics: Processing Controls not Managed by the Parameter Map.


Search for all occurrences

Detailed Description

See also:
Class IParamMap.
Description:
This class is used with parameter maps. If there is some custom handling required by a particular control, the client can derive a class from ParamMapUserDlgProc and set it as the parameter map's user callback (usually using SetUserDialogProc()).

#include <iparamm.h>

Inheritance diagram for ParamMapUserDlgProc:
Inheritance graph
[legend]

List of all members.

Public Member Functions

virtual  ~ParamMapUserDlgProc ()
  Destructor.
virtual INT_PTR  DlgProc (TimeValue t, IParamMap *map, HWND hWnd, UINT msg, WPARAM wParam, LPARAM lParam)=0
virtual void  DeleteThis ()=0
virtual void  Update (TimeValue t)

Constructor & Destructor Documentation

virtual ~ParamMapUserDlgProc ( ) [inline, virtual]

Destructor.

{}

Member Function Documentation

virtual INT_PTR DlgProc ( TimeValue  t,
IParamMap map,
HWND  hWnd,
UINT  msg,
WPARAM  wParam,
LPARAM  lParam 
) [pure virtual]
Remarks:
This is the dialog proc that will be called to process the control messages. This proc will be called after the default processing is complete.
Parameters:
TimeValue t

This is the current time.

IParamMap *map

This is a pointer to the parameter map.

HWND hWnd

This is the handle to the dialog.

UINT msg

This is the message that should be processed by the dialog proc.

WPARAM wParam

This is a parameter that holds message specific information.

LPARAM lParam

This is a parameter that holds message specific information.
Returns:
This is essentially the equivalent of a normal Windows dialog proc, so it should return whatever value a normal dialog proc returns for the message. An exception is that the value REDRAW_VIEWS may be returned to cause the viewports to be redrawn.

Implemented in SimpleSplineDlgProc.

virtual void DeleteThis ( ) [pure virtual]
Remarks:
If the DlgProc is non-NULL when the ParamMap is deleted the DeleteThis() method will be called. This method is usually implemented as follows: void DeleteThis() {delete this;}

Implemented in SimpleSplineDlgProc.

virtual void Update ( TimeValue  t ) [inline, virtual]
Remarks:
This method is available in release 2.0 and later only.

This method is called whenever the dialog is being updated. If the parameter map is invalidated, 3ds Max will update the user interface. When it does, this method is called so a developer may do anything they need to on each update.
Parameters:
TimeValue t

The time at which the update is taking place.
Default Implementation:
{}

See also:
For more information on Dialog Procs see the Advanced Topics section on Custom Controls.
{ UNUSED_PARAM(t); }

ParamMapUserDlgProc ParamMapUserDlgProc ParamMapUserDlgProc ParamMapUserDlgProc ParamMapUserDlgProc ParamMapUserDlgProc ParamMapUserDlgProc ParamMapUserDlgProc ParamMapUserDlgProc ParamMapUserDlgProc
ParamMapUserDlgProc ParamMapUserDlgProc ParamMapUserDlgProc ParamMapUserDlgProc ParamMapUserDlgProc ParamMapUserDlgProc ParamMapUserDlgProc ParamMapUserDlgProc ParamMapUserDlgProc ParamMapUserDlgProc