Hide

SftTabs/DLL 6.5 - Tab Control

Display
Print

GetControlInfo

Retrieves tab control attributes.

C

BOOL SftTabs_GetControlInfo(HWND hwndCtl, LPSFTTABS_CONTROL lpCtl);

C++

BOOL CSftTabs::GetControlInfo(LPSFTTABS_CONTROL lpCtl) const;

Parameters

hwndCtl

The window handle of the tab control.

lpCtl

A pointer to a SFTTABS_CONTROL structure. This structure will be updated with the current tab control attributes.

Returns

The return value is TRUE if the function was successful, otherwise FALSE is returned.

Comments

The GetControlInfo function retrieves tab control attributes.

Some of the structure values returned can be modified and updated using SetControlInfo. See SFTTABS_CONTROL for more information.

Example

C

SFTTABS_CONTROL Ctl;
SftTabs_GetControlInfo(hwndTab, &Ctl); 
Ctl.nRows = 1; 
SftTabs_SetControlInfo(hwndTab, &Ctl);

C++

SFTTABS_CONTROL Ctl;
m_Tab.GetControlInfo(&Ctl); 
Ctl.nRows = 1; 
m_Tab.SetControlInfo(&Ctl);

See Also C/C++ API | C++ Classes | Notifications


Last Updated 08/13/2020 - (email)
© 2024 Softel vdm, Inc.