DotNetNewsgroup.com  
web access to complete list of Microsoft.NET newsgroups
   home   |   control panel login   |   archive  |  
 
  carried group
academic
adonet
aspnet
aspnet.announcements
aspnet.buildingcontrols
aspnet.caching
aspnet.datagridcontrol
aspnet.mobile
aspnet.security
aspnet.webcontrols
aspnet.webservices
assignment_manager
datatools
dotnet.distributed_apps
dotnet.general
dotnet.myservices
dotnet.nternationalization
dotnet.scripting
dotnet.security
dotnet.vjsharp
dotnet.vsa
dotnet.xml
dotnetfaqs
framework
framework.clr
framework.compactframework
framework.component_services
framework.controls
framework.databinding
framework.drawing
framework.enhancements
framework.interop
framework.odbcnet
framework.performance
framework.remoting
framework.sdk
framework.setup
framework.webservices
framework.windowsforms
framework.wmi
frwk.windowsforms.designtime
lang.csharp
lang.jscript
lang.vb
lang.vb.controls
lang.vb.data
lang.vb.upgrade
lang.vc
lang.vc.libraries
  
 
start date: Mon, 23 Jul 2007 15:39:55 -0400,    posted on: microsoft.public.dotnet.framework.compactframework        back       

Thread Index
  1    Dan
          2    Empi


~ character does not invoke KeyPress event   
We use ~ as a post amble character for our mobile device scanners.  I am 
trying to trap this event in the KeyPress event but pressing this key does 
not invoke this event on our CE emulator or on our CE 4.2 device itself.  I 
can't trap it in the KeyDown or KeyUp events either because they just seem 
to trap the "Shift" key as you have to hold [shift] and "`" together to get 
the "~" character.

Using Framework 2.0 SP1.
Date:Mon, 23 Jul 2007 15:39:55 -0400   Author:  

Re: ~ character does not invoke KeyPress event   
Sorry, but this works fine for me:

private void Form1_KeyPress(object sender, KeyPressEventArgs e)

{

Debug.WriteLine(e.KeyChar.ToString());

}

Clicking shift + ~ prints on the debug window ~.







"Dan"  wrote in message 
news:%23cA3iFWzHHA.5992@TK2MSFTNGP02.phx.gbl...

> We use ~ as a post amble character for our mobile device scanners.  I am 
> trying to trap this event in the KeyPress event but pressing this key does 
> not invoke this event on our CE emulator or on our CE 4.2 device itself. 
> I can't trap it in the KeyDown or KeyUp events either because they just 
> seem to trap the "Shift" key as you have to hold [shift] and "`" together 
> to get the "~" character.
>
> Using Framework 2.0 SP1.
>
>
>
>
> 
Date:Tue, 24 Jul 2007 06:22:37 +0300   Author:  

Google
 
Web dotnetnewsgroup.com


COPYRIGHT ?2005, EUROFRONT WORLDWIDE LTD., ALL RIGHT RESERVE  |   Contact us