ICustStatusEditDestructorPolicy Class Reference
 
 
 
ICustStatusEditDestructorPolicy Class Reference

#include <custcont.h>

Inheritance diagram for ICustStatusEditDestructorPolicy:
MaxHeapOperators

Class Description

Class representing the DestructorPolicy for AutoPtr instances wrapping ICustStatusEdit pointers.

Sample Code:

MaxSDK::AutoPtr<ICustStatusEdit, ICustStatusEditDestructorPolicy> statusEdit(GetICustStatusEdit(hwnd));
statusEdit->SetReadOnly(newVal);
// when statusEdit goes out of scope, its Delete method is called, which calls ReleaseICustStatusEdit
See also:
class ICustStatusEdit, class AutoPtr

Static Public Member Functions

static void  Delete (ICustStatusEdit *statusEdit)

Member Function Documentation

static void Delete ( ICustStatusEdit statusEdit ) [inline, static]