473,396 Members | 1,886 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,396 software developers and data experts.

Language problem with GetAsyncKeyState API function

Hi,

I used the GetAsyncKeyState API function
Private Declare Function GetAsyncKeyState Lib "user32"
(ByVal vKey As Integer) As Short

in order to check the state of a key I use the code below

' check for letter a
keyPressed = GetAsyncKeyState(65)
If keyPressed = -32767 Then
addKey = vbCrLf
GoTo KeyFound
End If

My problem is that I have to know if the key that pressed is the English a
or the Greek a in order to do different things.

Does anyone knows how to solve this problem?

Thanks in Advance

Jun 16 '06 #1
0 1004

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

Similar topics

9
by: Daniel Moree | last post by:
I'm using MS VC++ 6.0 I'm working on a big project. I've currently have several files for this project. Here's the problem. I have one header file phead.h I have two code files main.cpp and...
134
by: evolnet.regular | last post by:
I've been utilising C for lots of small and a few medium-sized personal projects over the course of the past decade, and I've realised lately just how little progress it's made since then. I've...
11
by: arcticool | last post by:
I have a commonly used password that is low security, but part of my application testing so I want to just bind it somehow to an F-key say F3 and maybe another to F4. So I can click on the field...
1
by: Draiko | last post by:
I have been working a program that uses a keyboard hook to trigger several different actions based on the key that is pressed. The code that I use (simplified and provided below) works perfectly...
23
by: Xah Lee | last post by:
The Concepts and Confusions of Pre-fix, In-fix, Post-fix and Fully Functional Notations Xah Lee, 2006-03-15 Let me summarize: The LISP notation, is a functional notation, and is not a...
0
by: paraidy | last post by:
Hi all, i'm using The Getasynckeystate to use the keyboard to kill the processes, but i don't know how can i get the active application, for example my program is minimized to the tray, and i'm...
2
by: Maxisking | last post by:
I have this Code: Private Sub Timer1_Tick(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Timer1.Tick On Error Resume Next If...
0
by: pramod1221 | last post by:
hey everyone, i am using getasynckeystate along with a a timer in vb.net 2008 to capture certain keywords and perform an action, but the problem i am facing is the the words captured is not the same...
4
by: cateater | last post by:
OK this is the complete source code and when i compile it gets errors i am stumped as to why. not sure if the headers are there or not can some one please help me fix these errors please ...
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: 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...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
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...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

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.