Condividi tramite


CStatusBarCtrl::SetSimple

Specifies whether a status bar control displays simple text or displays all control parts set by a previous call to SetParts.

BOOL SetSimple(
   BOOL bSimple = TRUE 
);

Parameters

  • [in] bSimple
    Display-type flag. If this parameter is TRUE, the control displays simple text; if it is FALSE, it displays multiple parts.

Return Value

Always returns 0.

Remarks

If your application changes the status bar control from non-simple to simple, or vice versa, the system immediately redraws the control.

Requirements

Header: afxcmn.h

See Also

Reference

CStatusBarCtrl Class

Hierarchy Chart

CStatusBarCtrl::SetParts

Other Resources

CStatusBarCtrl Members