Object ProRibbon

Function ProRibbonContextSet


Description
Set the current context for the specified window.
Synopsis
#include <ProRibbonContext.h>
ProErrorProRibbonContextSet(
int win_id
/* (In)
the window id. You may use PRO_VALUE_UNUSED to indicate the current window. Currently, only the current window is supported.
*/
ProRibbonContext context
/* (In)
the ribbon context.
*/
)
Returns
PRO_TK_NO_ERRORThe function succeeded.
PRO_TK_BAD_INPUTSOne or more of the input arguments are invalid.

Manual References:

  1. Drawings: Context in Drawing Mode