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
I wish to switch off the sortcut's in a richedit. Is that possible ?
I want to make my own shortcut's.
Thanks, 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
Sub class the richedit and in WM_KEYDOWN use GetKeyState on CTRL and SHIFT. Returne NULL to remove the richedit action.
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.
I made my own shortcut's,ok. But there still exists the original richedit shortcut's and I want to switch them off.
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
Regards,
hutch@movsd.com
Hi Nordwind64
Exactly what I explained.
hutch'es way has the disadventage of also removeing them from the shortcuts, I guess.
KetilO
Exactly what I explained.
hutch'es way has the disadventage of also removeing them from the shortcuts, I guess.
KetilO
Thank you !!!
I will try.
Nordwind64
I will try.
Nordwind64
Is there a list with all shortcut's available in a richedit ?
Thanks, Nordwind 64
Thanks, Nordwind 64
I mean shortcut's like
Strg+Z = Undo
Strg+X = Cut
...
Nordwind64
Strg+Z = Undo
Strg+X = Cut
...
Nordwind64