Hello Peter,
I understand your problem but unfortunately the scenario that you described
is not supported by the .NET Compact Framework due to restrictions of the
underlying operating system. The problem here is that, as far as I know,
the OS does not allow having shortcut keys associated with the top level
menu items. But it does allow having shortcuts for menu items of popup
menus (this functionality is supported by the .NET Compact Framework
starting with Service Pack 1). As I recall, even Pocket Word and Pocket
Excel do not have shortcuts for the top level menu items.
I totally understand your concern about this problem. I will file a feature
request for your scenario, so it will be considered for implementation in a
future version.
Thank you,
Sergiy.
This posting is provided "AS IS" with no warranties, and confers no rights.
--------------------
| From: "Peter B" <
[email protected]>
| References: <#
[email protected]>
<
[email protected]>
| Subject: Re: Put focus on menu...
| Date: Tue, 3 Feb 2004 09:06:18 +0100
| Lines: 63
| X-Priority: 3
| X-MSMail-Priority: Normal
| X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
| X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
| Message-ID: <
[email protected]>
| Newsgroups: microsoft.public.dotnet.framework.compactframework
| NNTP-Posting-Host: h113n2fls34o264.telia.com 217.208.187.113
| Path:
cpmsftngxa07.phx.gbl!cpmsftngxa10.phx.gbl!cpmsftngxa06.phx.gbl!TK2MSFTNGXA06
..phx.gbl!TK2MSFTNGXA05.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFTNGP09.phx.gbl
| Xref: cpmsftngxa07.phx.gbl
microsoft.public.dotnet.framework.compactframework:44691
| X-Tomcat-NG: microsoft.public.dotnet.framework.compactframework
|
| I have a key, say A1, and three menus on the menubar (file, data and
help).
| When the user clicks A1, menu1 (File) should open so that it can be
| navigated with the navigation pad arrows. Pretty much like pressing ALT in
| ordinary Windows
|
| Also! Is there a way to be able to go from one menu to another with the
| arrows (just like ordinary Windows as well)? I.e. go from "file" to "data"
| and "help"? Otherwise I need to bind 1 key for each menu which is
| suboptimal...
|
| thanks,
|
| Peter
|
|
|
| | > Hello Peter,
| >
| > Please could you describe in more details what you are trying to
| accomplish?
| >
| > Thank you,
| > Sergiy.
| >
| > This posting is provided "AS IS" with no warranties, and confers no
| rights.
| > --------------------
| > | From: "Peter B" <
[email protected]>
| > | Subject: Put focus on menu...
| > | Date: Mon, 2 Feb 2004 17:53:24 +0100
| > | Lines: 10
| > | X-Priority: 3
| > | X-MSMail-Priority: Normal
| > | X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
| > | X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
| > | Message-ID: <#
[email protected]>
| > | Newsgroups: microsoft.public.dotnet.framework.compactframework
| > | NNTP-Posting-Host: h113n2fls34o264.telia.com 217.208.187.113
| > | Path:
| >
|
cpmsftngxa07.phx.gbl!cpmsftngxa06.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFTNGP09.
| > phx.gbl
| > | Xref: cpmsftngxa07.phx.gbl
| > microsoft.public.dotnet.framework.compactframework:44616
| > | X-Tomcat-NG: microsoft.public.dotnet.framework.compactframework
| > |
| > | I just can't figure out how you can put focus to a menu/menuitem in
| > code...
| > |
| > | There is no Focus() method for menus or menuitems. I am trying to
bind a
| > | keyboard key to a menu, opening it when the key is pressed...
| > |
| > | Any suggestions?
| > |
| > | / Peter
| > |
| > |
| > |
| >
|
|
|