Page 1 of 1

Editbox catch ctrl+c Key input

Posted: Sun May 31, 2009 06:17
by FeiYun
Hi all

How can a Editbox can catch ctrl+c Key input

I use the answer in NetWork:
KeyEventArgs *kEvent = (KeyEventArgs*)(&args);
switch (kEvent->codepoint)
{
case 3:
......;
}

but when I try that, the codepoint aslo = -858993460 so it's the wrong answer
I want to ask how to catch ctrl+c Key input
Thank you!

Re: Editbox catch ctrl+c Key input

Posted: Sun May 31, 2009 19:29
by CrazyEddie
Hi,

the codepoint field is only valid for character input (and not, for example, key up / key down events).

HTH

CE.

Re: Editbox catch ctrl+c Key input

Posted: Mon Jun 01, 2009 02:52
by FeiYun
Thank you CE