473,320 Members | 1,939 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

MapVirtualKey in .Net

Hi!
I am trying to implement in .Net the MapVirtualKey concept.
In other words, I want to read a character from the keyborad
and to type it on screen, accroding to:
* The specail keys status (for example pressing 'shift-A' will print 'A',
while pressent 'A' will
print 'a')
* The locale, namely, when pressing 'A' while the language is other than
english, to pring
the corresponding letter in that language,

A short demo code will be hightly appriciated,

thanks,
M. Rapp
Jul 21 '05 #1
0 1627

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: jen2276 | last post by:
Hi! I'm trying to write a background app that receives input from an external device (through the comm port) and then sends that data to the active foreground window that has focus. So far I have...
0
by: **Developer** | last post by:
I have a RichTextBox and I want to programmatically change the Insert/Overwrite mode. I tried the following but it doesn't appear to change the mode. Pressing the Insert or Ins key does change...
0
by: Muki Rapp | last post by:
Hi! I am trying to implement in .Net the MapVirtualKey concept. In other words, I want to read a character from the keyborad and to type it on screen, accroding to: * The specail keys status...
0
by: PiotrKolodziej | last post by:
Hi I have a simple situation, and complicated for me problem. I have an event that is raised if data receive to RS port. This event calls few api functions Here is the code: case "Alt": { if...
1
by: roshan | last post by:
All, Hello. I am a Software Developer currently creating an emulation program for our company's System Administrator. He will be able to call the program and emulate any keyboard combination,...
2
by: Danny | last post by:
Hi I want to be able from my csharp button to start an application ( which I can do) and then somehow send a message to the win32 application that says "press the button" The win32...
5
by: NvrBst | last post by:
Is there a easy way to resend the KeyPress to the window after capturing a hotkey? protected override void WndProc(ref Message m) { base.WndProc(ref m); if(m.Msg == WM_HOTKEY) { if(m.WParam ==...
1
by: Figmo | last post by:
Wow.....this is darned odd.... I have an app that integrates with other applications. It registers a global hotkey with Windows. When the hotkey executes it sends a CTRL-C to the active...
0
by: RL | last post by:
Hi, I have following function call in my C# program: Keys virtualKey = (Keys)Win32Api.MapVirtualKey(0xe038, 3); -Win32Api is my own wrapper around the MapVirtualKey API function. -My...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.