Static Public Member Functions

ISpinnerControlDestructorPolicy Class Reference

Search for all occurrences

Detailed Description

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
See also:
class ISpinnerControl, class AutoPtr

#include <custcont.h>

Inheritance diagram for ISpinnerControlDestructorPolicy:
Inheritance graph
[legend]

List of all members.

Static Public Member Functions

static void  Delete (ISpinnerControl *spin)

Member Function Documentation

static void Delete ( ISpinnerControl spin ) [inline, static]
    {
        ReleaseISpinner(spin);
    }

ISpinnerControlDestructorPolicy ISpinnerControlDestructorPolicy ISpinnerControlDestructorPolicy ISpinnerControlDestructorPolicy ISpinnerControlDestructorPolicy ISpinnerControlDestructorPolicy ISpinnerControlDestructorPolicy ISpinnerControlDestructorPolicy ISpinnerControlDestructorPolicy ISpinnerControlDestructorPolicy
ISpinnerControlDestructorPolicy ISpinnerControlDestructorPolicy ISpinnerControlDestructorPolicy ISpinnerControlDestructorPolicy ISpinnerControlDestructorPolicy ISpinnerControlDestructorPolicy ISpinnerControlDestructorPolicy ISpinnerControlDestructorPolicy ISpinnerControlDestructorPolicy ISpinnerControlDestructorPolicy