PC Review Forums Newsgroups Microsoft DotNet Microsoft Dot NET Compact Framework F1 & F2 Keys in Windows Mobile 5.0

Reply

F1 & F2 Keys in Windows Mobile 5.0

 
Thread Tools Rate Thread
Old 12-09-2006, 11:29 PM   #1
=?Utf-8?B?UmF5?=
Guest
 
Posts: n/a
Default F1 & F2 Keys in Windows Mobile 5.0


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
  Reply With Quote
Old 14-09-2006, 07:28 AM   #2
Dexlex
Guest
 
Posts: n/a
Default Re: F1 & F2 Keys in Windows Mobile 5.0

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
>



  Reply With Quote
Old 13-10-2006, 07:59 PM   #3
=?Utf-8?B?UmF5?=
Guest
 
Posts: n/a
Default Re: F1 & F2 Keys in Windows Mobile 5.0

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

>
>
>

  Reply With Quote
Reply



Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off