Public Member Functions

TrackViewFilter Class Reference

Search for all occurrences

Detailed Description

See also:
Class Animatable.

Description:
This is the callback object used to filter selections in the track view.

#include <maxapi.h>

Inheritance diagram for TrackViewFilter:
Inheritance graph
[legend]

List of all members.

Public Member Functions

virtual BOOL  proc (Animatable *anim, Animatable *client, int subNum)=0
virtual BOOL  TextColor (Animatable *anim, Animatable *client, int subNum, COLORREF &color)

Member Function Documentation

virtual BOOL proc ( Animatable anim,
Animatable client,
int  subNum 
) [pure virtual]
Remarks:
This is the callback object proc used to filter selections in the track view.
Parameters:
Animatable *anim

The item the user picked.

Animatable *client

The owner of the anim.

int subNum

The sub-animatable number of the anim.
Returns:
Return TRUE to accept the anim as selectable; otherwise FALSE.
virtual BOOL TextColor ( Animatable anim,
Animatable client,
int  subNum,
COLORREF &  color 
) [inline, virtual]
Remarks:
This method allows the filter to control the color of the label text used for the anim.
Parameters:
Animatable *anim

The item the user picked.

Animatable *client

The owner of the anim.

int subNum

The sub-animatable number of the anim.

COLORREF& color

The color for the label text. See COLORREF-DWORD format.
Returns:
TRUE for the Treeview to use the color in the color argument, FALSE to ignore that color and use the system default.
Default Implementation:
{ return FALSE; }
        {
            UNUSED_PARAM(anim);
            UNUSED_PARAM(client);
            UNUSED_PARAM(subNum);
            UNUSED_PARAM(color);
            return FALSE;
        }

TrackViewFilter TrackViewFilter TrackViewFilter TrackViewFilter TrackViewFilter TrackViewFilter TrackViewFilter TrackViewFilter TrackViewFilter TrackViewFilter
TrackViewFilter TrackViewFilter TrackViewFilter TrackViewFilter TrackViewFilter TrackViewFilter TrackViewFilter TrackViewFilter TrackViewFilter TrackViewFilter