共用方式為


CTabCtrl::SetPadding

Sets the amount of space (padding) around each tab's icon and label in a tab control.

void SetPadding( 
  CSize size  
);

Parameters

  • size
    Sets the amount of space (padding) around each tab's icon and label in a tab control.

Requirements

Header: afxcmn.h

See Also

Reference

CTabCtrl Class

Hierarchy Chart