PC Review


Reply
Thread Tools Rate Thread

Create Menusystem using ListView in WinCE

 
 
Frank Dietrich
Guest
Posts: n/a
 
      29th Dec 2004
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)

(E-Mail Removed)
DFPUG # 327
 
Reply With Quote
 
 
 
 
Daniel Moth
Guest
Posts: n/a
 
      29th Dec 2004
Maybe the Activation property and the ItemActivate event (both on listview)
can help your scenario...

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


"Frank Dietrich" <(E-Mail Removed)> wrote in message
news(E-Mail Removed)...
> 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)
>
> (E-Mail Removed)
> DFPUG # 327



 
Reply With Quote
 
Frank Dietrich
Guest
Posts: n/a
 
      11th Jan 2005
On Wed, 29 Dec 2004 13:07:08 -0000, "Daniel Moth" <(E-Mail Removed)> 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)

(E-Mail Removed)
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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
possible to create list from Listview? Rich P Microsoft C# .NET 4 22nd Sep 2009 12:59 AM
How to create setup for WinCE andreja.varnost@gmail.com Microsoft Dot NET Compact Framework 5 10th Jun 2008 07:32 AM
To create a winCE application in c#..... but can not be debugged in emulator! KV Microsoft Dot NET Compact Framework 1 24th Feb 2005 04:23 PM
Cannot create SQL database in WinCE =?Utf-8?B?THVpc0M=?= Microsoft Dot NET Compact Framework 2 8th Nov 2004 08:45 PM
how to create a WinCE 4.2 application using Visual Basic Helix Microsoft Dot NET Compact Framework 2 16th Jul 2004 05:53 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 12:40 PM.