Re :Re: Long press event on button

1 view
Skip to first unread message

Sabyasachi Mishra

unread,
Oct 13, 2006, 7:20:03 AM10/13/06
to Bangalore...@googlegroups.com
thats correct,
but i not finding out which is the event for button key down event.
'coz i get  the event only after i release the button.
Sabya


Bangalore...@googlegroups.com wrote


Hi,



One approach is, in the key-down event
start your own timer and key-up event Stop & check the time.  Based
on the time difference you decide what you want to do.



Thanks

Vadivel










"Sabyasachi  Mishra"
<sab...@rediffmail.com>

Sent by: Bangalore...@googlegroups.com
10/12/2006 11:32 AM



Please respond to

Bangalore...@googlegroups.com






To
<Bangalore...@googlegroups.com>


cc



Subject
Long press event on button













Hi All,

Am creating a phone application for PocketPC using eVC++ 4.0 .

and i have a button in the GUI.

that button's functionality  is to print some 'X' character when

single click and print 'Y' when held for a long time.

but am not getting any separate event for holding the button for lets

say 2 secs.

Could anyone plz help me in this case.

i wanted to how to capture the Long press event on the button (what is


the event).

or any help how  to handle this case.
thanks in advance......

Sabyasachi








______________________________________________________________________



______________________________________________________________________


Reply all
Reply to author
Forward
0 new messages