A tab page within a tab control. More...
#include <STabCtrl.h>
Public Member Functions | |
| STabPage () | |
| Constructor for STabPage. | |
| virtual | ~STabPage () |
| Destructor for STabPage. | |
| LPCTSTR | GetTitle () SCONST OVERRIDE |
| Gets the title of the tab page. | |
| void | SetTitle (LPCTSTR lpszTitle) OVERRIDE |
| Sets the title of the tab page. | |
| int | GetIconIndex () SCONST OVERRIDE |
| Gets the icon index of the tab page. | |
| void | SetIconIndex (int iIcon) OVERRIDE |
| Sets the icon index of the tab page. | |
Protected Member Functions | |
| virtual BOOL | UpdateToolTip (CPoint pt, SwndToolTipInfo &tipInfo) |
| Handles tooltip updates. | |
| virtual HRESULT | SetAttribute (const SNS::SStringW &amp;amp;amp;strAttribName, const SNS::SStringW &amp;amp;amp;strValue, BOOL bLoading=FALSE) |
Protected Attributes | |
| STrText | m_strTitle |
| int | m_iIcon |
Friends | |
| class | STabCtrl |
A tab page within a tab control.
This class represents a tab page within an STabCtrl, which can have a title and an icon.
Definition at line 28 of file STabCtrl.h.
|
inline |
Constructor for STabPage.
Definition at line 36 of file STabCtrl.h.
|
inlinevirtual |
Destructor for STabPage.
Definition at line 46 of file STabCtrl.h.
|
inline |
Gets the icon index of the tab page.
Definition at line 73 of file STabCtrl.h.
|
inline |
Gets the title of the tab page.
Definition at line 55 of file STabCtrl.h.
|
inlineprotectedvirtual |
< Title of the tab page.
< Icon index of the tab page.
Reimplemented from SWindow.
Definition at line 99 of file STabCtrl.h.
|
inline |
Sets the icon index of the tab page.
| iIcon | The new icon index for the tab page. |
Definition at line 82 of file STabCtrl.h.
|
inline |
Sets the title of the tab page.
| lpszTitle | The new title for the tab page. |
Definition at line 64 of file STabCtrl.h.
|
inlineprotectedvirtual |
Handles tooltip updates.
| pt | The mouse position. |
| tipInfo | Tooltip information. |
Reimplemented from SWindow.
Definition at line 94 of file STabCtrl.h.
|
friend |
Definition at line 30 of file STabCtrl.h.
|
protected |
Icon index of the tab page.
Definition at line 106 of file STabCtrl.h.
|
protected |
Title of the tab page.
Definition at line 105 of file STabCtrl.h.