ICustToolbarDestructorPolicy Class Reference
 
 
 
ICustToolbarDestructorPolicy Class Reference

#include <custcont.h>

Inheritance diagram for ICustToolbarDestructorPolicy:
MaxHeapOperators

Class Description

Class representing the DestructorPolicy for AutoPtr instances wrapping ICustToolbar pointers.

Sample Code:

MaxSDK::AutoPtr<ICustToolbar, ICustToolbarDestructorPolicy> custToolbar(GetICustToolbar(hwnd));
custToolbar->ResetIconImages();
// when custToolbar goes out of scope, its Delete method is called, which calls ReleaseICustToolbar
See also:
class ICustToolbar, class AutoPtr

Static Public Member Functions

static void  Delete (ICustToolbar *custToolbar)

Member Function Documentation

static void Delete ( ICustToolbar custToolbar ) [inline, static]