Condividi tramite


CMFCOutlookBarTabCtrl::SetPageButtonTextAlign

Sets the alignment of the text labels on the tab buttons of the Outlook bar.

void SetPageButtonTextAlign(
   UINT uiAlign,
   BOOL bRedraw=TRUE 
);

Parameters

  • [in] uiAlign
    Specifies the text alignment.

  • [in] bRedraw
    If TRUE, the outlook window will be redrawn.

Remarks

Use this function to change text alignment for page buttons.

uiAlign can be one of the following values:

Constant

Meaning

TA_LEFT

Left alignment

TA_CENTER

Center alignment

TA_RIGHT

Right alignment

The default value is TA_CENTER.

Requirements

Header: afxOutlookBarTabCtrl.h

See Also

Reference

CMFCOutlookBarTabCtrl Class

Hierarchy Chart