BCGControlBar Pro for MFC
static BOOL CBCGPToolbarEditBoxButton::SetContentsAll ( UINT  uiCmd,
const CString &  strContents 
)
static

Given a command ID looks for a CBCGPToolbarEditBoxButton object and sets the text within its edit control.

Returns
Nonzero if the text was set; it is 0 if the toolbar edit box button with the specifies command ID does not exist.

Call this function to find a CBCGPToolbarEditBoxButton object by its command ID and set the specified text within its edit control box.

Parameters
uiCmdA command ID.
strContentsSpecifies the new text to set.