Example: IN_AddButton

 

/* Add the Invert button before the Grid button in the View toolbar */

if ( ( nError = IN_AddButton(IN_BUTTONBAR_VIEW, IN_CMD_VIEW_ INVERT, IN_CMD_VIEW_GRID, IN_BUTTON_PSN_PREV ) ) != IN_SUCCESS )

 {

  ErrorHandler( nError, "Error message:" );

 }