473,385 Members | 1,983 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,385 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 1634

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
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
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

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.