PC Review
Forums
Newsgroups
Microsoft DotNet
Microsoft Dot NET Compact Framework
F1 & F2 Keys in Windows Mobile 5.0
Forums
Newsgroups
Microsoft DotNet
Microsoft Dot NET Compact Framework
F1 & F2 Keys in Windows Mobile 5.0
![]() |
F1 & F2 Keys in Windows Mobile 5.0 |
|
|
Thread Tools | Rate Thread |
|
|
#1 |
|
Guest
Posts: n/a
|
I'm developing a C# .NET Compact Framework version 1.1 application using
Visual Studio .NET 2003 for Windows Mobile 5.0 device with keypad. I am trying to register F1, F2, F3, F4 keys as hot keys using RegisterHotKeys(). It looks like that F1 and F2 keys are not getting registered successfully. F3 & F4 keys register successfully. (Customer wants to open a form on F1 & F2 key press. ) Any resolution on why F1 & F2 keys are not getting registered as hot keys? -- Rahul Mehta |
|
|
|
#2 |
|
Guest
Posts: n/a
|
F1 & F2 are used by the system to operate the left and right menu items.
When you disable the menu (this.Menu = null), both VK_F1 and VK_F2 are passed to the application. Dex "Ray" <Ray@discussions.microsoft.com> schrieb im Newsbeitrag news:C9176099-1A87-4EC1-A5F8-BC9F1F5515C8@microsoft.com... > I'm developing a C# .NET Compact Framework version 1.1 application using > Visual Studio .NET 2003 for Windows Mobile 5.0 device with keypad. I am > trying to register F1, F2, F3, F4 keys as hot keys using > RegisterHotKeys(). > It looks like that F1 and F2 keys are not getting registered successfully. > F3 > & F4 keys register successfully. (Customer wants to open a form on F1 & F2 > key press. ) Any resolution on why F1 & F2 keys are not getting registered > as > hot keys? > -- > Rahul Mehta > |
|
|
|
#3 |
|
Guest
Posts: n/a
|
How can I disable menu? Do I have to use SHEnableSoftKey() to disable soft
keys? Can provide some sample code on it please? Thanks, -- Rahul Mehta "Dexlex" wrote: > F1 & F2 are used by the system to operate the left and right menu items. > When you disable the menu (this.Menu = null), both VK_F1 and VK_F2 are > passed to the application. > > Dex > > > "Ray" <Ray@discussions.microsoft.com> schrieb im Newsbeitrag > news:C9176099-1A87-4EC1-A5F8-BC9F1F5515C8@microsoft.com... > > I'm developing a C# .NET Compact Framework version 1.1 application using > > Visual Studio .NET 2003 for Windows Mobile 5.0 device with keypad. I am > > trying to register F1, F2, F3, F4 keys as hot keys using > > RegisterHotKeys(). > > It looks like that F1 and F2 keys are not getting registered successfully. > > F3 > > & F4 keys register successfully. (Customer wants to open a form on F1 & F2 > > key press. ) Any resolution on why F1 & F2 keys are not getting registered > > as > > hot keys? > > -- > > Rahul Mehta > > > > > |
|
![]() |
|
| Thread Tools | |
| Rate This Thread | |
|
|

Main Page 

