SendKPress
This routine performs very similarly to Mon, with the exception that it allows an initial key to be sent to cxMain. Unlike MonForceKey, which handles special keys and runs through the raw key hook, SendKPress passes the keypress directly to cxMain.
If this routine is called, it will not return.
a: Keypress to simulate.AppAllowContext: Set to allowMonto pass context keys, to thecxMainroutine.curLock: Set to lock the cursor off.
- None.
- This routine does not return.