Example: IN_GetButtonBarDefinition

 

#define MAX_SIZE 300

 

SHORT nCmdList[MAX_SIZE];

SHORT nNumCmds;

 

/* Get the list of buttons in the View toolbar */

if ( ( nError = IN_GetButtonBarDefinition( IN_BUTTONBAR_VIEW, MAX_SIZE, nCmdList, &nNumCmds ) ) != IN_SUCCESS )

 {

  ErrorHandler( nError, "Error message:" );

 }