Export (0) Print
Expand All

CReBarCtrl::SetBarInfo

Implements the behavior of the Win32 message RB_SETBARINFO, as described in the Windows SDK.

BOOL SetBarInfo( 
   REBARINFO* prbi  
);

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

Nonzero if successful; otherwise zero.

REBARINFO rbi = {0};
rbi.cbSize = sizeof(REBARINFO);
rbi.fMask = 0;
rbi.himl = 0;
m_wndReBar.GetReBarCtrl().SetBarInfo(&rbi);   

Header: afxcmn.h

Show:
© 2014 Microsoft