Static Public Member Functions

ISliderControlDestructorPolicy Class Reference

Search for all occurrences

Detailed 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

#include <custcont.h>

Inheritance diagram for ISliderControlDestructorPolicy:
Inheritance graph
[legend]

List of all members.

Static Public Member Functions

static void  Delete (ISliderControl *slider)

Member Function Documentation

static void Delete ( ISliderControl slider ) [inline, static]
    {
        ReleaseISlider(slider);
    }

ISliderControlDestructorPolicy ISliderControlDestructorPolicy ISliderControlDestructorPolicy ISliderControlDestructorPolicy ISliderControlDestructorPolicy ISliderControlDestructorPolicy ISliderControlDestructorPolicy ISliderControlDestructorPolicy ISliderControlDestructorPolicy ISliderControlDestructorPolicy
ISliderControlDestructorPolicy ISliderControlDestructorPolicy ISliderControlDestructorPolicy ISliderControlDestructorPolicy ISliderControlDestructorPolicy ISliderControlDestructorPolicy ISliderControlDestructorPolicy ISliderControlDestructorPolicy ISliderControlDestructorPolicy ISliderControlDestructorPolicy