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
#include <custcont.h>
Static Public Member Functions |
|
static void | Delete (ISliderControl *slider) |
static void Delete | ( | ISliderControl * | slider | ) | [inline, static] |
{ ReleaseISlider(slider); }