yunjingtao schrieb:
> hi,Daniel I know that KEY_MOD1 is related to key CTRL, KEY_MOD2 is to
> ALT, but I don't know KEY_MOD3, KEY_MODTYPE, and KEY_ALLMODTYPE, can
> you tell me?

Don't know KEY_MOD3, there may be operating systems supporting more
modifiers.

KEY_MODTYPE and KEY_ALLMODTYPE are equal. The VCL KeyCode class contains
an integer member "nCode" that contains the pressed key and the
modifiers. The KEY_MODTYPE is used to extract all modifiers from the
nCode member without the key code, e.g. if you press CTRL+SHIFT+A, the
nCode member contains the value KEY_SHIFT|KEY_MOD1|KEY_A. If you call
GetModifier() at the KeyCode class, you will get the value
KEY_SHIFT|KEY_MOD1.

> About issue40679,your comment is Will add CTRL key, and keep SHIFT
> for backward compatibility. I debug into
> SelectionEngine::SelMouseButtonDown (vcl\source\window\seleng.cxx).If
> this is the right place, I am afraid I have to modify this function a

No, this function is used in several places all over the office
applications. I thought about a solution inside the Calc module if possible.


Daniel

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to