#include <custcont.h>
Public Member Functions |
|
virtual void | SetPosType (DWORD t)=0 |
virtual DWORD | GetPosType ()=0 |
virtual void | SetPosRank (int rank, int subrank=0)=0 |
virtual int | GetPosRank ()=0 |
virtual int | GetPosSubrank ()=0 |
virtual BOOL | IsFloating ()=0 |
virtual void | Hide (BOOL b)=0 |
virtual BOOL | IsHidden ()=0 |
virtual void | SetCurPosition (DWORD pos)=0 |
virtual DWORD | GetCurPosition ()=0 |
virtual void | SetContentType (DWORD t)=0 |
virtual DWORD | GetContentType ()=0 |
virtual void | SetContentHandle (HWND hContent)=0 |
virtual HWND | GetContentHandle ()=0 |
virtual void | SetTabbedToolbar (BOOL b)=0 |
virtual BOOL | GetTabbedToolbar ()=0 |
virtual void | AddToolbarTab (HWND hTBar, CUIFrameMsgHandler *msgHandler, const MCHAR *name, int pos=-1)=0 |
virtual void | DeleteToolbarTab (int pos)=0 |
virtual int | GetToolbarCount ()=0 |
virtual HWND | GetToolbarHWnd (int pos)=0 |
virtual const MCHAR * | GetTabName (int pos)=0 |
virtual void | SetCurrentTab (int pos)=0 |
virtual int | GetCurrentTab ()=0 |
virtual int | GetSize (int sizeType, int dir, int orient)=0 |
virtual BOOL | InstallMsgHandler (CUIFrameMsgHandler *msgHandler)=0 |
virtual void | SetName (const MCHAR *name)=0 |
virtual const MCHAR * | GetName ()=0 |
virtual BOOL | SetMenuDisplay (int md)=0 |
virtual int | GetMenuDisplay ()=0 |
virtual void | SetSystemWindow (BOOL b)=0 |
virtual BOOL | GetSystemWindow ()=0 |
virtual BOOL | ReadConfig (const MCHAR *cfg, int startup=FALSE)=0 |
virtual void | WriteConfig (const MCHAR *cfg)=0 |
virtual void SetPosType | ( | DWORD | t | ) | [pure virtual] |
t | The position to set. See CUI Frame Position Types. |
virtual DWORD GetPosType | ( | ) | [pure virtual] |
virtual void SetPosRank | ( | int | rank, |
int | subrank = 0 |
||
) | [pure virtual] |
virtual int GetPosRank | ( | ) | [pure virtual] |
virtual int GetPosSubrank | ( | ) | [pure virtual] |
virtual BOOL IsFloating | ( | ) | [pure virtual] |
virtual void Hide | ( | BOOL | b | ) | [pure virtual] |
b | TRUE for hidden; FALSE for not hidden. |
virtual BOOL IsHidden | ( | ) | [pure virtual] |
virtual void SetCurPosition | ( | DWORD | pos | ) | [pure virtual] |
virtual DWORD GetCurPosition | ( | ) | [pure virtual] |
virtual void SetContentType | ( | DWORD | t | ) | [pure virtual] |
t | One or more of the following flags: CUI_TOOLBAR Set if frame holds toolbars and / or tool palettes. CUI_MENU This is used internally to set if the frame holds a menu. Note: Developers should not create their own menus. 3ds Max assumes that only one menu exists. CUI_HWND Set if frame hold a generic window handle. The command panel (which can be floated) is an example of a generic window. |
virtual DWORD GetContentType | ( | ) | [pure virtual] |
virtual void SetContentHandle | ( | HWND | hContent | ) | [pure virtual] |
hContent | The handle to set. |
virtual HWND GetContentHandle | ( | ) | [pure virtual] |
virtual void SetTabbedToolbar | ( | BOOL | b | ) | [pure virtual] |
b | TRUE for tabbed; FALSE for not tabbed. |
virtual BOOL GetTabbedToolbar | ( | ) | [pure virtual] |
virtual void AddToolbarTab | ( | HWND | hTBar, |
CUIFrameMsgHandler * | msgHandler, | ||
const MCHAR * | name, | ||
int | pos = -1 |
||
) | [pure virtual] |
hTBar | The window handle of the toolbar tab to add. |
msgHandler | The message handler for the tab or NULL if not used. |
name | The name for the tab. |
pos | The position for the tab. This is the zero based index where 0 is at left edge of those in the frame and the max value is GetToolbarCount()-1. A value of -1 adds the tab to the end of the list of tabs. Also, for example, if you specify a value of 0 for an existing tabbed toolbar, the new tab is inserted at position 0 and the others are moved to the right. |
virtual void DeleteToolbarTab | ( | int | pos | ) | [pure virtual] |
pos | Specifies the position of the tab to delete. This is the zero based index where 0 is at left edge of those in the frame and the max value is GetToolbarCount()-1. |
virtual int GetToolbarCount | ( | ) | [pure virtual] |
virtual HWND GetToolbarHWnd | ( | int | pos | ) | [pure virtual] |
pos | Specifies the position of the tab. This is the zero based index where 0 is at left edge of those in the frame and the max value is GetToolbarCount()-1. |
virtual const MCHAR* GetTabName | ( | int | pos | ) | [pure virtual] |
pos | Specifies the position of the tab. This is the zero based index where 0 is at left edge of those in the frame and the max value is GetToolbarCount()-1. |
virtual void SetCurrentTab | ( | int | pos | ) | [pure virtual] |
pos | Specifies the position of the tab. This is the zero based index where 0 is at left edge of those in the frame and the max value is GetToolbarCount()-1. |
virtual int GetCurrentTab | ( | ) | [pure virtual] |
virtual int GetSize | ( | int | sizeType, |
int | dir, | ||
int | orient | ||
) | [pure virtual] |
sizeType | The size type. See CUI Frame Size Types. |
dir | The direction of the frame. CUI_HORIZ: Width. CUI_VERT: Height. |
orient | The orientation. See CUI Frame Orientations. |
virtual BOOL InstallMsgHandler | ( | CUIFrameMsgHandler * | msgHandler | ) | [pure virtual] |
msgHandler | Points to the handler to install. See Class CUIFrameMsgHandler for details. |
virtual void SetName | ( | const MCHAR * | name | ) | [pure virtual] |
name | The name to set. |
virtual const MCHAR* GetName | ( | ) | [pure virtual] |
virtual BOOL SetMenuDisplay | ( | int | md | ) | [pure virtual] |
md | One of the following values: CUI_MENU_HIDE CUI_MENU_SHOW_ENABLED CUI_MENU_SHOW_DISABLED |
virtual int GetMenuDisplay | ( | ) | [pure virtual] |
virtual void SetSystemWindow | ( | BOOL | b | ) | [pure virtual] |
b | TRUE to set as a system window; otherwise FALSE. |
virtual BOOL GetSystemWindow | ( | ) | [pure virtual] |
virtual BOOL ReadConfig | ( | const MCHAR * | cfg, |
int | startup =
FALSE |
||
) | [pure virtual] |
virtual void WriteConfig | ( | const MCHAR * | cfg | ) | [pure virtual] |