ButtonColumns example for C++ 5.0 and later
For more information on declaration and unlocking procedures used in testing this example, refer to Annotation Declaration Information.
//This sample resizes the annotation toolbar so that it has an additional column
void IncrementButtonColumns (ILEADRasterAnnToolBar * pAnnToolBar)
{
if ((pAnnToolBar) && (pAnnToolBar->GetToolBarhWnd()))
{
pAnnToolBar->PutButtonColumns(pAnnToolBar->GetButtonColumns() + 1);
}
}