PC Review


Reply
Thread Tools Rate Thread

ContextMenu on listview closes when new item is added

 
 
RonNanko@gm-squared.de
Guest
Posts: n/a
 
      17th Jun 2006
I am facing a userinteraction issue with a listview, which is
populated/updated by a background task.

While the population of the listview is taking place, the user should
already be able to execute actions on the already visible items.

For convenience purposes, I have added a contextmenu to the listview,
which contains the most commonly used commands. This works fine as long
as the listview's content does not change, but the context menu closes
automatically, as soon as a new listview item is added to the list.

Is there a way to keep the context menu open although the list's
content changes?

Thank you in advance for any insight on this topic,
Ron

 
Reply With Quote
 
 
 
 
Jani Järvinen [MVP]
Guest
Posts: n/a
 
      19th Jun 2006
Ron,

>I am facing a userinteraction issue with a listview, which is
> populated/updated by a background task.
> Is there a way to keep the context menu open although the list's
> content changes?


To me, it would sound most logical if you would defer the updates of the
list if a popup menu is currently open. You could use a simple flag for this
purpose.

It is of course nice to have a list that updates in the background, but it
would lead to a better user experience, if the list would "freeze" once the
user opens the popup menu.

--
Regards,

Mr. Jani Järvinen
C# MVP
Helsinki, Finland
(E-Mail Removed)
http://www.saunalahti.fi/janij/


 
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
help coloring individual listview item instead of all listview item in visual c++ tonyck Webmaster / Programming 0 7th Jul 2006 11:06 AM
ListView: Event when Item is added? andreas.baus@meta-level.de Microsoft C# .NET 3 28th Feb 2006 03:10 PM
ListView Item added Event? Matt Gabbard Microsoft VB .NET 3 18th Oct 2005 04:18 PM
How to know when an Item has been added in a ListView =?Utf-8?B?QmFyYW11c2U=?= Microsoft C# .NET 0 28th Jul 2004 11:21 AM
Removing a ListView item using ContextMenu VR Microsoft C# .NET 2 5th Sep 2003 04:45 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 05:30 PM.