ICUIFrameDestructorPolicy Class Reference
 
 
 
ICUIFrameDestructorPolicy Class Reference

#include <custcont.h>

Inheritance diagram for ICUIFrameDestructorPolicy:
MaxHeapOperators

Class Description

Class representing the DestructorPolicy for AutoPtr instances wrapping ICUIFrame pointers.

Sample Code:

MaxSDK::AutoPtr<ICUIFrame, ICUIFrameDestructorPolicy> iFrame(GetICUIFrame(data->hFrameWnd));
iFrame->SetContentType(CUI_HWND);
iFrame->SetPosType(style);
// when iFrame goes out of scope, its Delete method is called, which calls ReleaseICUIFrame
See also:
class ICUIFrame, class AutoPtr

Static Public Member Functions

static void  Delete (ICUIFrame *iFrame)

Member Function Documentation

static void Delete ( ICUIFrame iFrame ) [inline, static]