Class representing the DestructorPolicy for AutoPtr instances wrapping IRollupWindow pointers.
Sample Code:
MaxSDK::AutoPtr<IRollupWindow, IRollupWindowDestructorPolicy> rw(GetIRollup(GetParent(GetParent(page)))); IRollupPanel *panel = rw->GetPanel(page); MoveWindow( panel->GetTitleWnd(), 6, 0, rect.right - 10, 16, TRUE ); // resize panel title // when rw goes out of scope, its Delete method is called, which calls ReleaseIRollup
#include <custcont.h>
Static Public Member Functions |
|
static void | Delete (IRollupWindow *rw) |
static void Delete | ( | IRollupWindow * | rw | ) | [inline, static] |
{ ReleaseIRollup(rw); }