Object ProRibbon

Function ProRibbonContextGet


Description
Get the current context for the specified window.
Synopsis
#include <ProRibbonContext.h>
ProErrorProRibbonContextGet(
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
/* (Out)
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
  2. Drawings: Context in Drawing Mode