e.beforeShowContextMenu

From PDF XChange PDF SDK
Jump to: navigation, search
(Automatic page editing by robot)
 
Line 2: Line 2:
 
{{#customTitle:e.beforeShowContextMenu}}
 
{{#customTitle:e.beforeShowContextMenu}}
 
{{#parentPage:PXV:PXV_Events|e.beforeShowContextMenu|event}}
 
{{#parentPage:PXV:PXV_Events|e.beforeShowContextMenu|event}}
{{ToWrite}}
 
 
{{ToReview}}
 
{{ToReview}}
  
 
== Overview ==
 
== Overview ==
The event is fired when...
+
The event is fired before the Context Menu will be shown.
  
 
== Parameters ==
 
== Parameters ==
Line 16: Line 15:
 
| class="op_param_name" | Param1
 
| class="op_param_name" | Param1
 
| style="text-align:center" | PARAM_T
 
| style="text-align:center" | PARAM_T
| Not used.
+
| Contains the ID of the Popup Menu.
 
|-
 
|-
 
| class="op_param_name" | Param2
 
| class="op_param_name" | Param2
Line 28: Line 27:
 
| class="op_param_name" | Result
 
| class="op_param_name" | Result
 
| style="text-align:center" | PARAM_T
 
| style="text-align:center" | PARAM_T
| Specifies the result that will be used by the event sender when the event is marked as Handled.
+
| Specifies the result that will be used by the event sender when the event is marked as Handled. In this case the Result is representing the Command ID from the Popup Menu that was chosen.

Revision as of 07:21, 27 December 2016


Overview

The event is fired before the Context Menu will be shown.

Parameters

Name Type Description
Param1 PARAM_T Contains the ID of the Popup Menu.
Param2 PARAM_T Not used.
Handled VARIANT_BOOL Specifies whether the event was handled. Marking the event as handled will cause the event sender to look at the event`s result and act accordingly based on the event type.
Result PARAM_T Specifies the result that will be used by the event sender when the event is marked as Handled. In this case the Result is representing the Command ID from the Popup Menu that was chosen.