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

Checking if the Fn key was pressed on a laptop

I'm writing a C# app that needs to know when the user presses the laptop's Fn
key and another key, say F6 (Fn+F6). From the research I've done it seems as
though I can check the Control.Modifierkeys and determine if the Fn key was
pressed. However the Modifier key list doesn't include the Fn key.

I need some guidance on the correct way to handle this problem.

Thanks for any assistance.

Nov 16 '05 #1
2 2574
I recommend you first to check if this key produces some Event and if
it's produced check the integer value, then you cant proccess it...

Greetings...

Miguel Ortiz Falcón
mi*******@hotmail.com

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
Nov 16 '05 #2
My understanding is that the Fn key does not fire an event. It's similar to
Shift/Ctrl/Alt keys in that they are considered modifiers. Is this correct

How would you go about coding your recommendation?

"Miguel Ortiz Falcsn" wrote:
I recommend you first to check if this key produces some Event and if
it's produced check the integer value, then you cant proccess it...

Greetings...

Miguel Ortiz Falcsn
mi*******@hotmail.com

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!

Nov 16 '05 #3

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

Similar topics

7
by: - ions | last post by:
I have created a JComboBox with its Items as a list of "M" numbers ie. M1,M2,M3.......throgh too M110 (thes are the messier objects, a catolouge of deep sky objects) the user selects of of these...
0
by: Koen | last post by:
Hi! What is the best way to check whether a key is pressed without blocking in C++? I know I can use cin.get(c) to get a character from standard input, but this blocks. And I know _kbhit()...
4
by: MJW | last post by:
Is there a way for me to know if or which command button was just clicked that triggers the LostFocus event for the current control on a Form? I have a form that has many types of users who each...
3
by: lorirobn | last post by:
Hello, I am in the process of bringing my Access application to client's server, and need some help! The background is: I created application (mdb) using Access 2003 on my laptop, converted it to...
8
by: Paul E Collins | last post by:
Suppose I have a few Keys objects: Keys k1 = Keys.V; // V Keys k2 = Keys.Control | Keys.V; // Ctrl+V Keys k3 = Keys.Shift | Keys.J; // Shift+J I need to determine which of these include the...
32
by: Mark | last post by:
lets say i have a char, and i want to check if the 3rd bit is 0 or 1... how might i do this? thanks!
1
by: adamsalata | last post by:
Hi I'm wrting a simple calculator in C# using Windows Forms and I'm learning it now. I have one question. Is there any way to chceck if specified button was pressed? I know that I have event...
14
by: luvtopost | last post by:
I am trying to learn PHP and was reading the book by Laura Welling and Luke Thompson. Obviously, PHP is already installed on a server when hosted by an ISP already. Is there a way to just download...
4
by: F159753 | last post by:
I have the following code: <script type="text/javascript"> function displayRow(){ var ET = document.getElementById("ExpenseTable"); var row3 = document.getElementById("searchbutton"); ...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
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: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
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: 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.