Click to See Complete Forum and Search --> : HELP : key accelerator


steph
May 7th, 1999, 09:02 AM
Hi,

I have create a menuitem in which I am able to copy/paste data in a static box. Now I would like to associate copy/paste with key combinaison ctrl+c/ctrl+v. I have tried to key accelerator nvertheless I don't know How to associate the id of the key accelerators created with my functions that copy/paste data.
In fact How can i detect when a user press ctrl+c or ctrl+v ?

Thanks in advance.

sl_ministry@hotmail.com

indika
May 7th, 1999, 09:52 AM
override the OnKey() method and in there you can find out what keys are pressed.