soui 5.0.0.1
Soui5 Doc
 
Loading...
Searching...
No Matches
STabPage Class Reference

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;amp;strAttribName, const SNS::SStringW &amp;amp;amp;amp;strValue, BOOL bLoading=FALSE)
 

Protected Attributes

STrText m_strTitle
 
int m_iIcon
 

Friends

class STabCtrl
 

Detailed Description

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.

Constructor & Destructor Documentation

◆ STabPage()

STabPage::STabPage ( )
inline

Constructor for STabPage.

Definition at line 36 of file STabCtrl.h.

◆ ~STabPage()

virtual STabPage::~STabPage ( )
inlinevirtual

Destructor for STabPage.

Definition at line 46 of file STabCtrl.h.

Member Function Documentation

◆ GetIconIndex()

int STabPage::GetIconIndex ( )
inline

Gets the icon index of the tab page.

Returns
The icon index of the tab page.

Definition at line 73 of file STabCtrl.h.

◆ GetTitle()

LPCTSTR STabPage::GetTitle ( )
inline

Gets the title of the tab page.

Returns
The title of the tab page.

Definition at line 55 of file STabCtrl.h.

◆ SetAttribute()

virtual HRESULT STabPage::SetAttribute ( const SNS::SStringW &amp;amp;amp;amp; strAttribName,
const SNS::SStringW &amp;amp;amp;amp; strValue,
BOOL bLoading = FALSE )
inlineprotectedvirtual

< Title of the tab page.

< Icon index of the tab page.

Reimplemented from SWindow.

Definition at line 99 of file STabCtrl.h.

◆ SetIconIndex()

void STabPage::SetIconIndex ( int iIcon)
inline

Sets the icon index of the tab page.

Parameters
iIconThe new icon index for the tab page.

Definition at line 82 of file STabCtrl.h.

◆ SetTitle()

void STabPage::SetTitle ( LPCTSTR lpszTitle)
inline

Sets the title of the tab page.

Parameters
lpszTitleThe new title for the tab page.

Definition at line 64 of file STabCtrl.h.

◆ UpdateToolTip()

virtual BOOL STabPage::UpdateToolTip ( CPoint pt,
SwndToolTipInfo & tipInfo )
inlineprotectedvirtual

Handles tooltip updates.

Parameters
ptThe mouse position.
tipInfoTooltip information.
Returns
Always returns FALSE to disable tooltips on the page.

Reimplemented from SWindow.

Definition at line 94 of file STabCtrl.h.

Friends And Related Symbol Documentation

◆ STabCtrl

friend class STabCtrl
friend

Definition at line 30 of file STabCtrl.h.

Member Data Documentation

◆ m_iIcon

int STabPage::m_iIcon
protected

Icon index of the tab page.

Definition at line 106 of file STabCtrl.h.

◆ m_strTitle

STrText STabPage::m_strTitle
protected

Title of the tab page.

Definition at line 105 of file STabCtrl.h.


The documentation for this class was generated from the following file: