BOOL SetBarInfo( REBARINFO* prbi );
Return Value
Nonzero if successful; otherwise zero.
Parameters
prbi
A pointer to a REBARINFO structure that contains the information to be set. You must set the cbSize member of this structure to sizeof(REBARINFO)
before sending this message
Remarks
This member function implements the behavior of the Win32 message RB_SETBARINFO, as described in the Platform SDK.
Example
LPREBARINFO prbi = 0;
prbi = (LPREBARINFO)alloca(sizeof(REBARINFO));
if (!prbi)
{
AfxMessageBox("Couldn't allocate memory for
REBARINFO structure!");
return;
}
prbi->cbSize = sizeof(REBARINFO);
prbi->fMask = 0;
prbi->himl = 0;
m_wndReBar.GetReBarCtrl().SetBarInfo(prbi);
CReBarCtrl Overview | Class Members | Hierarchy Chart
See Also CReBarCtrl::GetBarInfo