Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
RE: [platform-swt-dev] the Control key on StyledText

Steve

 I have tried this issue again and find that it seems not all ctrl+letter failed. When I try input ctrl+”R” or CTRL+”T”, it really success, that is, the event.character is 0x12 or 0x14 now , with the statemask is SWT.CTRL. So I think the reason some ctrl + letter fail is because it is already interpreted by high level operation, so could we clarify this before I submit this to bugzilla?

 

Thanks

Yunhong Jiang


From: platform-swt-dev-admin@xxxxxxxxxxx [mailto:platform-swt-dev-admin@xxxxxxxxxxx] On Behalf Of Steve Northover
Sent: Monday, May 31, 2004 10:04 PM
To: platform-swt-dev@xxxxxxxxxxx
Subject: Re: [platform-swt-dev] the Control key on StyledText

 


Please enter a bugzilla report and indicate the platform.  Thanks.


"Jiang, Yunhong" <yunhong.jiang@xxxxxxxxx>
Sent by: platform-swt-dev-admin@xxxxxxxxxxx

05/30/2004 12:31 AM

Please respond to
platform-swt-dev

To

<platform-swt-dev@xxxxxxxxxxx>

cc

 

Subject

[platform-swt-dev] the Control key on StyledText

 

 

 




I append verifyKeyListener to a StyledText widget to get to know when
use press Ctrl +c and Ctrl +d
When I push Ctrl with another key pressed, eg. The CTRL + d, the
verifyKey got only the following: character :0 keycode 262144 master 0;
However, I try push ALT with another key pressed, eg ALT+d, the
verifykey got the result of :character: d, keycode: 0, master :65536

So I want to know how can I got to know user have pressed Ctrl + another
key?

Thanks
Yunhong Jiang

_______________________________________________
platform-swt-dev mailing list
platform-swt-dev@xxxxxxxxxxx
http://dev.eclipse.org/mailman/listinfo/platform-swt-dev


Back to the top