Hello,

I wish to switch off the sortcut's in a richedit. Is that possible ?
I want to make my own shortcut's.

Thanks, Nordwind64
Posted on 2002-03-27 03:47:11 by Nordwind64
Hi Nordwind64

Sub class the richedit and in WM_KEYDOWN use GetKeyState on CTRL and SHIFT. Returne NULL to remove the richedit action.

KetilO
Posted on 2002-03-27 06:11:19 by KetilO
Hello KetilO,

I made my own shortcut's,ok. But there still exists the original richedit shortcut's and I want to switch them off.
Posted on 2002-03-27 06:16:53 by Nordwind64
You can defeat the intrinsic key combinations by processing the WM_KEYUP/DOWN messages directly in the message loop of the app and throw away the ones you want to avoid.

Regards,

hutch@movsd.com
Posted on 2002-03-27 06:38:58 by hutch--
Hi Nordwind64

Exactly what I explained.

hutch'es way has the disadventage of also removeing them from the shortcuts, I guess.

KetilO
Posted on 2002-03-27 07:22:01 by KetilO
Thank you !!!

I will try.


Nordwind64
Posted on 2002-03-27 07:29:32 by Nordwind64
Is there a list with all shortcut's available in a richedit ?

Thanks, Nordwind 64
Posted on 2002-03-28 07:17:35 by Nordwind64
I mean shortcut's like

Strg+Z = Undo
Strg+X = Cut
...

Nordwind64
Posted on 2002-03-30 10:49:25 by Nordwind64