473,763 Members | 6,149 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Capture Function Keys Compact Framework

there,
I'm trying to capture the Function keys (F1-F4, basically) but it's kind of
difficult compare to .NET Framework. I have tried KeyPress, KeyDown, etc,
without success.
I downloaded the P/Invoke sample, kind of hard to digest.
Is there another workaround?
I'm using: Pocket PC2003 (emulator also), VS.NET 2003.(especific ally C#).

Any help will be highly appreciated
--
Leo
Jul 21 '05 #1
2 3335
Have you looked at ProcessDialogKe y() and ProcessCommandK ey()?

Sijin Joseph
http://www.indiangeek.net
http://weblogs.asp.net/sjoseph
leotricaspio wrote:
there,
I'm trying to capture the Function keys (F1-F4, basically) but it's kind of
difficult compare to .NET Framework. I have tried KeyPress, KeyDown, etc,
without success.
I downloaded the P/Invoke sample, kind of hard to digest.
Is there another workaround?
I'm using: Pocket PC2003 (emulator also), VS.NET 2003.(especific ally C#).

Any help will be highly appreciated

Jul 21 '05 #2
Sijin,

Thanks for your reply. Unfortunatelly I tried those two methods before, but
they only work with .NET framework, not Compact Framework.
Any other suggestions?

Thanks again,

Leonardo

"Sijin Joseph" wrote:
Have you looked at ProcessDialogKe y() and ProcessCommandK ey()?

Sijin Joseph
http://www.indiangeek.net
http://weblogs.asp.net/sjoseph
leotricaspio wrote:
there,
I'm trying to capture the Function keys (F1-F4, basically) but it's kind of
difficult compare to .NET Framework. I have tried KeyPress, KeyDown, etc,
without success.
I downloaded the P/Invoke sample, kind of hard to digest.
Is there another workaround?
I'm using: Pocket PC2003 (emulator also), VS.NET 2003.(especific ally C#).

Any help will be highly appreciated

Jul 21 '05 #3

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

Similar topics

2
9068
by: Pradeep M M | last post by:
Hi Folks, Can any of your folks tell me as to how can I capture the keys Ctrl+Alt+Del in C# or Vb.NET. Pradeep
1
5778
by: karunakar | last post by:
Hi all Just i want capture the with "Ctrl" (Key bord function) + any F1 or F4 In windows application How can capture the event in C# .net Regards, Venu
3
13897
by: Melson | last post by:
hi can anyone help me how can i capture ENTER keystroke when the cell in datagrid is in editing mode. I'm now creating a data entry form with primary key in header and details in datagrid. So when user key in the details in datagrid, I would like user to choose product code by pressing ENTER key in the datagrid and a Product Code dialog will appear for him to choose.
2
7054
by: Don | last post by:
It took me a while to find this code, so I decided to post it here for others who might also be looking for a way to trap tab key presses. You can extend a control and place this code in it to raise a custom TabKeyDown event. Here is an example of how you might extend a TextBox control to provide this event: Public Class TextBoxEx Inherits TextBox
2
558
by: leotricaspio | last post by:
there, I'm trying to capture the Function keys (F1-F4, basically) but it's kind of difficult compare to .NET Framework. I have tried KeyPress, KeyDown, etc, without success. I downloaded the P/Invoke sample, kind of hard to digest. Is there another workaround? I'm using: Pocket PC2003 (emulator also), VS.NET 2003.(especifically C#). Any help will be highly appreciated --
5
3353
by: bob | last post by:
Hi Using 2003 - targeting the compact framework (c#), but would like to do most development using the full.net (manually leaving out stuff not in the compact framework). Q. Trying to find a way of converting a project to have builds for both compact and full. Project properties doesn't seem to help Thanks
1
1382
by: planet.creativa | last post by:
There are two classes 1) Key - contains some public variables, one method "Reset" and one event "valuesReset" which is raised by Reset method. 2) Keys - this class is collection of objects of class 'Key' and it is inherited with ReadOnlyCollection(Of key). I'm pasting the code here Class key Public Event valuesReset()
0
3498
by: j101 | last post by:
I am attempting to set up Q Capture on RH Linux (x86_64) using DB2 9 fp2, but there seems to be a general problem loading a specify MQ shared library "/opt/mqm/lib/libmqm_r.so". I have MQ v6 installed in the default directory and working. I can generate the similar errors in two ways (1) through the Replication Center attempting to validate the Q objects and (2) after manually creating the Q objects and running the asnqcap program. ...
0
9563
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9386
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
1
9937
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9822
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
8821
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
5270
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5405
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3917
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
3
2793
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.