guides:programming:programmers_reference_manual:forcekeydispatch_message

FORCEKEYDISPATCH Message

The FORCEKEYDISPATCH message will force the OpenInsight Presentation Server to handle an individual keystroke regardless of the OCX translation.

retval = Send_Message(oleControl, "FORCEKEYDISPATCH", keystroke, bValue)

The function has the following parameters:

ParameterDescription
oleControlThe fully qualified control identifier for the OLE/OCX control.
keystrokeThe virtual key code to suppress
bValueIf true then the keystroke will not be suppressed, if false then the keystroke will be suppressed.

The previous bValue of the FORCEKEYDISPATCH property for the keystroke within the control.

NOACCELTRANSLATION property, SUPPRESSKEYTRANSLATE message Version Introduced in OpenInsight version 8.0.5.

* This example will force the Presentation Server to handle the ENTER key, as well as the OCX.

equ VK_RETURN$ to 13

call Send_Message( oleControl, "FORCEKEYDISPATCH", VK_RETURN$, TRUE$)
  • guides/programming/programmers_reference_manual/forcekeydispatch_message.txt
  • Last modified: 2024/06/19 20:20
  • by 127.0.0.1