For Programmers: Free Programming Magazines  


Home > Archive > Smartphone Developer Forum > January 2005 > Adding MenuItems on the left softkey ?









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Adding MenuItems on the left softkey ?
George

2005-01-23, 4:04 pm

NET CF v1 does not allow us to add more than one MenuItem on the left
softkey.
Adding more MenuItems causes error in RunTime.

My requirement is to have Menu Collection for both softkeys (left and right)

Question is :
How to add more than one Menu Items on the left softkey ?
Do You know any ways to make it in manage code or do I have to make it in
unmanaged code ?


Regards
George






riki

2005-01-23, 4:04 pm

George wrote:
> NET CF v1 does not allow us to add more than one MenuItem on the left
> softkey.
> Adding more MenuItems causes error in RunTime.
>
> My requirement is to have Menu Collection for both softkeys (left and right)
>
> Question is :
> How to add more than one Menu Items on the left softkey ?
> Do You know any ways to make it in manage code or do I have to make it in
> unmanaged code ?

Your running up against an old Microsoft requirement there, which is no
menus on the left softkey. although I see thats changed now, huh.

As to how to get around it, tricky trick.
Betaplayer does left softkey menus:
http://corecodec.org/frs/?group_id=9&release_id=3

But it's native. A quick look indicates it just has a resource file with
a (blank) menu for both keys. You will have to check with the CF guys
(eg Peter Foot) but it might be that the CF is being more clever than it
should be, by enforcing this requirement.

riki

main(){printf("%d != %d, why?", sizeof('"')["'"],
,(sizeof('"'))["]\"\0["]);}
By Night:
ThemeChanger for Smartphone : http://homepages.inspire.net.nz/~gambit/
AbstractStart for Smartphone :
http://homepages.inspire.net.nz/~gambit/AbstractStart/
By Day: http://www.EmbeddedFusion.com
Robert Levy [MS]

2005-01-23, 4:04 pm

Yeah, CF v1 enforces this and I'm not aware of any workarounds. CF v2 will
not enforce it.

--
Robert Levy
Program Manager
Mobile Devices Product Group
http://blogs.msdn.com/windowsmobile

This posting is provided "AS IS" with no warranties, and confers no
rights.

riki wrote:
> George wrote:
> Your running up against an old Microsoft requirement there, which is
> no menus on the left softkey. although I see thats changed now, huh.
>
> As to how to get around it, tricky trick.
> Betaplayer does left softkey menus:
> http://corecodec.org/frs/?group_id=9&release_id=3
>
> But it's native. A quick look indicates it just has a resource file
> with a (blank) menu for both keys. You will have to check with the CF
> guys (eg Peter Foot) but it might be that the CF is being more clever
> than it should be, by enforcing this requirement.
>
> riki
>
> main(){printf("%d != %d, why?", sizeof('"')["'"],
> ,(sizeof('"'))["]\"\0["]);}
> By Night:
> ThemeChanger for Smartphone : http://homepages.inspire.net.nz/~gambit/
> AbstractStart for Smartphone :
> http://homepages.inspire.net.nz/~gambit/AbstractStart/
> By Day: http://www.EmbeddedFusion.com



Neil Enns [MSFT]

2005-01-23, 4:04 pm

CF is being clever somewhere and I'm not sure if you can workaround it. On
the native side you can just do it, the OS doesn't enforce.

--
Neil Enns
Program Manager
Microsoft Visual Studio for Devices

Got an opinion? Take our newsgroup survey:
https://www.windowsembeddedeval.com...nity/newsgroups
This posting is provided "AS IS" with no warranties, and confers no rights.
"riki" <see_my_home@page> wrote in message
news:uC%23nf4N$EHA.3596@TK2MSFTNGP12.phx.gbl...
> George wrote:
right)[color=darkred]
in[color=darkred]
> Your running up against an old Microsoft requirement there, which is no
> menus on the left softkey. although I see thats changed now, huh.
>
> As to how to get around it, tricky trick.
> Betaplayer does left softkey menus:
> http://corecodec.org/frs/?group_id=9&release_id=3
>
> But it's native. A quick look indicates it just has a resource file with
> a (blank) menu for both keys. You will have to check with the CF guys
> (eg Peter Foot) but it might be that the CF is being more clever than it
> should be, by enforcing this requirement.
>
> riki
>
> main(){printf("%d != %d, why?", sizeof('"')["'"],
> ,(sizeof('"'))["]\"\0["]);}
> By Night:
> ThemeChanger for Smartphone : http://homepages.inspire.net.nz/~gambit/
> AbstractStart for Smartphone :
> http://homepages.inspire.net.nz/~gambit/AbstractStart/
> By Day: http://www.EmbeddedFusion.com



Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com