NativeTab

Class Overvew
Provides operations on windows of WindowClass type SysTabControl32.



public NativeTab(WindowControl src)
Explanation
Constructor.

Parameter
         src
                A WindowControl object for the target window



public NativeTab(WindowsAppFriend app, IntPtr windowHandle)
Explanation
Constructor.

Parameters
app
Application manipulation object
windowHandle
Window handle



public int ItemCount{ get; }
Explanation
Returns the number of tabs.



public int SelectedItemIndex{ get; }
Explanation
Returns the index of the selected tab.



public void EmulateSelectItem(int index)
Explanation
Sets the selected tab.
Produces TCN_SELCHANGING and TCN_SELCHANGE notifications if the selection changes.

Parameter
          Index 
Index to select



public void EmulateSelectItem(int index, Async async)
Explanation
Sets the selected tab asynchronously.
Produces TCN_SELCHANGING and TCN_SELCHANGE notifications if the selection changes.

Parameters
          Index                    
                    Index to select.
async
Asynchronous execution object



public bool GetItem(int tabIndex, TCITEM item)
Explanation
Gets a certain tab item.

Return value
Success or failure

Parameters
tabIndex
Tab index
item
Item storage buffer



public IntPtr GetItemData(int tabIndex)
Explanation
Obtains tab item data.

Return value
Item data

Parameter
tabIndex
Tab index



public string GetItemText(int tabIndex)
Explanation
Obtains the text for a certain tab item.

Return value
Tab text

Parameter
tabIndex
Tab index

JR