Class representing the DestructorPolicy for AutoPtr instances wrapping ISpinnerControl pointers.
Sample Code:
MaxSDK::AutoPtr<ISpinnerControl, ISpinnerControlDestructorPolicy> spin(GetISpinner(GetDlgItem(parent_rollout->page, control_ID))); spin->SetIndeterminate(newVal); // when spin goes out of scope, its Delete method is called, which calls ReleaseISpinner
#include <custcont.h>
Static Public Member Functions |
|
static void | Delete (ISpinnerControl *spin) |
static void Delete | ( | ISpinnerControl * | spin | ) | [inline, static] |
{ ReleaseISpinner(spin); }