PC Review Forums Newsgroups Microsoft DotNet Microsoft Dot NET Compact Framework Create Menusystem using ListView in WinCE

Reply

Create Menusystem using ListView in WinCE

 
Thread Tools Rate Thread
Old 29-12-2004, 01:57 PM   #1
Frank Dietrich
Guest
 
Posts: n/a
Default Create Menusystem using ListView in WinCE


Hi,

I would like to create a menu-system using ListView-Controls for a WinCE 4.2 - Device. Just like
we see it everytime in many Phones and PDA's

The Idea is that I have a ListView for each Menulevel that shows Icons and Text. Clicking on an
Item either opens a lower (or upper) menulevel or launches a task.

I would like to select (and fire) an Item with a single click (touch-screen) as well as with arrow-keys and ENTER
or even with a digit (1-9).

A menuhandler takes care of the different menu-levels (and ListViews) etc.

I thought this could best be done using ListViews as they have the Icon and Text -capabilities and
do by themselves take care of aligning, scrollbars, navigation etc.

However I found (and read here) that simple things like a Click() are not supported and SelectedIndexChanged()
fires everytime the Item changes, even If I simply press "RightArrow".


I have realized the menu using panels and the OpenNETCF-ButtonEx. Works great with the mouse but I navigation with keys does not
work and ButtonEx has an issue with the focus after it has been clicked on (also I have no Scrollbars etc.)

Can anyone give me a hand on this? I think this must have been done a thousand times.

Thanks a lot in advance

Oh, C#, Win CE.NET, and of course .Net 2003



Regards from Berlin

Frank

Dietrich Datentechnik (Berlin)
Softwarekombinat Teltow (Teltow)

Frank.Dietrich@dd-tech.de
DFPUG # 327
  Reply With Quote
Old 29-12-2004, 02:07 PM   #2
Daniel Moth
Guest
 
Posts: n/a
Default Re: Create Menusystem using ListView in WinCE

Maybe the Activation property and the ItemActivate event (both on listview)
can help your scenario...

Cheers
Daniel
--
http://www.danielmoth.com/Blog/


"Frank Dietrich" <Frank.Dietrich@dd-tech.de> wrote in message
newsg95t05mverrsp65mi6qmnkbqs9ck1vblu@4ax.com...
> Hi,
>
> I would like to create a menu-system using ListView-Controls for a WinCE
> 4.2 - Device. Just like
> we see it everytime in many Phones and PDA's
>
> The Idea is that I have a ListView for each Menulevel that shows Icons and
> Text. Clicking on an
> Item either opens a lower (or upper) menulevel or launches a task.
>
> I would like to select (and fire) an Item with a single click
> (touch-screen) as well as with arrow-keys and ENTER
> or even with a digit (1-9).
>
> A menuhandler takes care of the different menu-levels (and ListViews) etc.
>
> I thought this could best be done using ListViews as they have the Icon
> and Text -capabilities and
> do by themselves take care of aligning, scrollbars, navigation etc.
>
> However I found (and read here) that simple things like a Click() are not
> supported and SelectedIndexChanged()
> fires everytime the Item changes, even If I simply press "RightArrow".
>
>
> I have realized the menu using panels and the OpenNETCF-ButtonEx. Works
> great with the mouse but I navigation with keys does not
> work and ButtonEx has an issue with the focus after it has been clicked on
> (also I have no Scrollbars etc.)
>
> Can anyone give me a hand on this? I think this must have been done a
> thousand times.
>
> Thanks a lot in advance
>
> Oh, C#, Win CE.NET, and of course .Net 2003
>
>
>
> Regards from Berlin
>
> Frank
>
> Dietrich Datentechnik (Berlin)
> Softwarekombinat Teltow (Teltow)
>
> Frank.Dietrich@dd-tech.de
> DFPUG # 327



  Reply With Quote
Old 11-01-2005, 04:14 PM   #3
Frank Dietrich
Guest
 
Posts: n/a
Default Re: Create Menusystem using ListView in WinCE

On Wed, 29 Dec 2004 13:07:08 -0000, "Daniel Moth" <dmoth74@hotmail.com> wrote:

>
>Maybe the Activation property and the ItemActivate event (both on listview)
>can help your scenario...
>


Sorry took me a while... Yes that helped me, thanks for the hint

Regards from Berlin

Frank

Dietrich Datentechnik (Berlin)
Softwarekombinat Teltow (Teltow)

Frank.Dietrich@dd-tech.de
DFPUG # 327
  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