Static Public Member Functions

ICustToolbarDestructorPolicy Class Reference

Search for all occurrences

Detailed 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

#include <custcont.h>

Inheritance diagram for ICustToolbarDestructorPolicy:
Inheritance graph
[legend]

List of all members.

Static Public Member Functions

static void  Delete (ICustToolbar *custToolbar)

Member Function Documentation

static void Delete ( ICustToolbar custToolbar ) [inline, static]
    {
        ReleaseICustToolbar(custToolbar);
    }

ICustToolbarDestructorPolicy ICustToolbarDestructorPolicy ICustToolbarDestructorPolicy ICustToolbarDestructorPolicy ICustToolbarDestructorPolicy ICustToolbarDestructorPolicy ICustToolbarDestructorPolicy ICustToolbarDestructorPolicy ICustToolbarDestructorPolicy ICustToolbarDestructorPolicy
ICustToolbarDestructorPolicy ICustToolbarDestructorPolicy ICustToolbarDestructorPolicy ICustToolbarDestructorPolicy ICustToolbarDestructorPolicy ICustToolbarDestructorPolicy ICustToolbarDestructorPolicy ICustToolbarDestructorPolicy ICustToolbarDestructorPolicy ICustToolbarDestructorPolicy