ISliderControlDestructorPolicy Class Reference
 
 
 
ISliderControlDestructorPolicy Class Reference

#include <custcont.h>

Inheritance diagram for ISliderControlDestructorPolicy:
MaxHeapOperators

Class Description

Class representing the DestructorPolicy for AutoPtr instances wrapping ISliderControl pointers.

Sample Code:

MaxSDK::AutoPtr<ISliderControl, ISliderControlDestructorPolicy> slider(GetISlider(GetDlgItem(parent_rollout->page, control_ID)));
slider->SetKeyBrackets(newVal);
// when slider goes out of scope, its Delete method is called, which calls ReleaseISlider
See also:
class ISliderControl, class AutoPtr

Static Public Member Functions

static void  Delete (ISliderControl *slider)

Member Function Documentation

static void Delete ( ISliderControl slider ) [inline, static]