My Project
|
Tabcontrol. More...
#include <Tabcontrol.h>
Public Member Functions | |
CTabcontrol (SallyAPI::GUI::CGUIBaseObject *parent, int x, int y, int width, int height, int controlId=0) | |
Constructor. | |
virtual | ~CTabcontrol () |
Destructor. | |
void | SetTabPosition (SallyAPI::GUI::TabPosition tabPosition) |
Sets a tab position. | |
SallyAPI::GUI::TabPosition | GetTabPosition () |
Gets the tab position. | |
void | AddTabItem (SallyAPI::GUI::CTabcontrolItem *item) |
Adds a tab item. | |
int | GetFormWidth () |
Gets the form width. | |
int | GetFormHeight () |
Gets the form height. | |
virtual void | SendMessageToParent (SallyAPI::GUI::CGUIBaseObject *reporter, int reporterId, int messageId, SallyAPI::GUI::SendMessage::CParameterBase *messageParameter=NULL) |
Send message to parent. |
Tabcontrol.
CTabcontrol::CTabcontrol | ( | SallyAPI::GUI::CGUIBaseObject * | parent, |
int | x, | ||
int | y, | ||
int | width, | ||
int | height, | ||
int | controlId = 0 |
||
) |
Constructor.
[in,out] | parent | If non-null, the parent. |
x | The x coordinate. | |
y | The y coordinate. | |
width | The width. | |
height | The height. | |
controlId | Identifier for the control. |
CTabcontrol::~CTabcontrol | ( | ) | [virtual] |
Destructor.
void CTabcontrol::AddTabItem | ( | SallyAPI::GUI::CTabcontrolItem * | item | ) |
Adds a tab item.
[in,out] | item | If non-null, the item. |
int CTabcontrol::GetFormHeight | ( | ) |
Gets the form height.
int CTabcontrol::GetFormWidth | ( | ) |
Gets the form width.
Gets the tab position.
void CTabcontrol::SendMessageToParent | ( | SallyAPI::GUI::CGUIBaseObject * | reporter, |
int | reporterId, | ||
int | messageId, | ||
SallyAPI::GUI::SendMessage::CParameterBase * | messageParameter = NULL |
||
) | [virtual] |
Send message to parent.
[in,out] | reporter | If non-null, the reporter. |
reporterId | Identifier for the reporter. | |
messageId | Identifier for the message. | |
[in,out] | messageParameter | If non-null, the message parameter. |
Reimplemented from SallyAPI::GUI::CForm.
void CTabcontrol::SetTabPosition | ( | SallyAPI::GUI::TabPosition | tabPosition | ) |
Sets a tab position.
tabPosition | The tab position. |