CTabCtrl

CTabCtrl 

Construction

Create Creates a tab control and attaches it to an instance of a CTabCtrl object. 
CreateEx Creates a tab control with the specified Windows extended styles and attaches it to an instance of a CTabCtrl object. 
CTabCtrl Constructs a CTabCtrl object. 

Attributes

GetCurFocus Retrieves the tab with the current focus of a tab control. 
GetCurSel Determines the currently selected tab in a tab control. 
GetExtendedStyle Retrieves the extended styles that are currently in use for the tab control.  
GetImageList Retrieves the image list associated with a tab control. 
GetItem Retrieves information about a tab in a tab control. 
GetItemCount Retrieves the number of tabs in the tab control. 
GetItemRect Retrieves the bounding rectangle for a tab in a tab control. 
GetItemState Retrieves the state of the indicated tab control item. 
GetRowCount Retrieves the current number of rows of tabs in a tab control. 
GetToolTips Retrieves the handle of the tool tip control associated with a tab control. 
SetCurFocus Sets the focus to a specified tab in a tab control. 
SetCurSel Selects a tab in a tab control. 
SetExtendedStyle Sets the extended styles for a tab control. 
SetImageList Assigns an image list to a tab control. 
SetItem Sets some or all of a tab's attributes. 
SetItemExtra Sets the number of bytes per tab reserved for application-defined data in a tab control. 
SetItemSize Sets the width and height of an item. 
SetItemState Sets the state of the indicated tab control item. 
SetMinTabWidth Sets the minimum width of items in a tab control. 
SetPadding Sets the amount of space (padding) around each tab's icon and label in a tab control. 
SetToolTips Assigns a tool tip control to a tab control. 

Operations

AdjustRect Calculates a tab control's display area given a window rectangle, or calculates the window rectangle that would correspond to a given display area. 
DeleteAllItems Removes all items from a tab control. 
DeleteItem Removes an item from a tab control. 
DeselectAll Resets items in a tab control, clearing any that were pressed. 
HighlightItem Sets the highlight state of a tab item.  
HitTest Determines which tab, if any, is at a specified screen position. 
InsertItem Inserts a new tab in a tab control. 
RemoveImage Removes an image from a tab control's image list. 

Overridables

DrawItem Draws a specified item of a tab control. 
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值