IRollupWindowDestructorPolicy Class Reference
 
 
 
IRollupWindowDestructorPolicy Class Reference

#include <custcont.h>

Inheritance diagram for IRollupWindowDestructorPolicy:
MaxHeapOperators

Class Description

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
See also:
class IRollupWindow, class AutoPtr

Static Public Member Functions

static void  Delete (IRollupWindow *rw)

Member Function Documentation

static void Delete ( IRollupWindow rw ) [inline, static]