Share via


CStatusBar::SetIndicators

Sets each indicator's ID to the value specified by the corresponding element of the array lpIDArray, loads the string resource specified by each ID, and sets the indicator's text to the string.

BOOL SetIndicators( 
   const UINT* lpIDArray, 
   int nIDCount  
);

Parameters

  • lpIDArray
    Pointer to an array of IDs.

  • nIDCount
    Number of elements in the array pointed to by lpIDArray.

Return Value

Nonzero if successful; otherwise 0.

Requirements

Header: afxext.h

See Also

Reference

CStatusBar Class

Hierarchy Chart

CStatusBar::CStatusBar

CStatusBar::Create

CStatusBar::SetPaneInfo

CStatusBar::SetPaneText