Static Public Member Functions

IRollupWindowDestructorPolicy Class Reference

Search for all occurrences

Detailed 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

#include <custcont.h>

Inheritance diagram for IRollupWindowDestructorPolicy:
Inheritance graph
[legend]

List of all members.

Static Public Member Functions

static void  Delete (IRollupWindow *rw)

Member Function Documentation

static void Delete ( IRollupWindow rw ) [inline, static]
    {
        ReleaseIRollup(rw);
    }

IRollupWindowDestructorPolicy IRollupWindowDestructorPolicy IRollupWindowDestructorPolicy IRollupWindowDestructorPolicy IRollupWindowDestructorPolicy IRollupWindowDestructorPolicy IRollupWindowDestructorPolicy IRollupWindowDestructorPolicy IRollupWindowDestructorPolicy IRollupWindowDestructorPolicy
IRollupWindowDestructorPolicy IRollupWindowDestructorPolicy IRollupWindowDestructorPolicy IRollupWindowDestructorPolicy IRollupWindowDestructorPolicy IRollupWindowDestructorPolicy IRollupWindowDestructorPolicy IRollupWindowDestructorPolicy IRollupWindowDestructorPolicy IRollupWindowDestructorPolicy