Class IRollupPanel

3DS Max Plug-In SDK

Class IRollupPanel

class IRollupPanel : public InterfaceServer

Description:

This class is available in release 4.0 and later only.

This class represents the interface for a rollup panel and describes the properties of that panel (which is one rollup). You can obtain a pointer to the IRollupPanel class for any given specified window by calling IRollupWindow::IRollupPanel *GetPanel(HWND hWnd);

Methods:

public:

Prototype:

virtual HINSTANCE GetHInst()=0;

Remarks:

This method returns a handle to the rollup panel instance.

Prototype:

virtual DWORD_PTR GetResID()=0;

Remarks:

This method returns the resource ID of the rollup panel.

Prototype:

virtual BOOL operator==(const IRollupPanel& id)=0;

Remarks:

Equality test operator.

Prototype:

virtual int GetCategory()=0;

Remarks:

This method returns the rollup panel category identifier.

Prototype:

virtual void SetCategory(int cat)=0;

Remarks:

This method allows you to set the category identifier for the rollup panel.

Parameters:

int cat

The category identifier to set.

Prototype:

virtual HWND GetHWnd()=0;

Remarks:

This method returns a handle to the rollup window.

Prototype:

virtual HWND GetRollupWindowHWND()=0;

Remarks:

This method returns a handle to the actual panel in the rollup window.

Prototype:

virtual HWND GetTitleWnd()=0;

Remarks:

This method returns a handle to the window from which you can get the title through the GWLP_USERDATA.