F1 & F2 Keys in Windows Mobile 5.0

G

Guest

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?
 
D

Dexlex

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
 
G

Guest

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 said:
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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top