Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
BOOL SetBarInfo( REBARINFO* prbi );
Return Value
Nonzero if successful; otherwise zero.
Parameters
prbi
A pointer to a 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 , 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