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
#include <custcont.h>
Static Public Member Functions |
|
static void | Delete (ICUIFrame *iFrame) |
static void Delete | ( | ICUIFrame * | iFrame | ) | [inline, static] |
{ ReleaseICUIFrame(iFrame); }