473,399 Members | 4,177 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,399 software developers and data experts.

how to implement column header mouse down event on list view

i used a list view component to a form
and i would like to do some thing when i click right mouse on the list
view's
column header
but the mouse down event was not occured while i click list view's header
how can i catch this event ?
Feb 6 '06 #1
3 2476
i used a list view component to a form
and i would like to do some thing when i click right mouse on the list
view's
column header
but the mouse down event was not occured while i click list view's header
how can i catch this event ?


Try ColumnClick
http://msdn.microsoft.com/library/de...clicktopic.asp

It definitely works with left-click, I think it should work with
right-click too.

Tom
Feb 6 '06 #2
ttt
"±è¿ë°Ç" <gu***@varovision.com> wrote in message
news:ds**********@news2.kornet.net...
i used a list view component to a form
and i would like to do some thing when i click right mouse on the list
view's
column header
but the mouse down event was not occured while i click list view's header
how can i catch this event ?

Feb 7 '06 #3
???
i tryed to use this event but it was occured when left-click

"Tamas Demjen" <td*****@yahoo.com> wrote in message
news:OB**************@TK2MSFTNGP12.phx.gbl...
i used a list view component to a form
and i would like to do some thing when i click right mouse on the list
view's
column header
but the mouse down event was not occured while i click list view's header
how can i catch this event ?


Try ColumnClick
http://msdn.microsoft.com/library/de...clicktopic.asp

It definitely works with left-click, I think it should work with
right-click too.

Tom

Feb 7 '06 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Billy | last post by:
I am implementing a "windowing" library that uses DIVs to simulate windows. It works, but tracking of the mouse pointer is poor. In other words, as long as I move the mouse slowly, the 'window'...
2
by: Dan | last post by:
Hi, I would like my list view controls column headers to display a "down arrow / triangle" to indicate by which column they are sorted. I don't want the ListView to actually sort any data as...
2
by: Gas | last post by:
Hi, I am just wondering is there a way to add an up or down arrow in the column header of a list view control to indicate that the row are sort by that column? Gas
5
by: objectref | last post by:
Hi to all, i populate a ListView with data from a datareader and i just want to know the column name of the cell that the user clicks on. E.x., if the user clicks on the 2nd column, 3rd row in...
1
by: Thomas Zimmermann | last post by:
I have a form with a subform in datasheet view. Now, I want to trigger a procedure (P1) each time the user selects an entire column (by clicking in the heading) in the subform. The procedure (P1) I...
10
by: JohnR | last post by:
I have a datatable as the datasource to a datagrid. The datagrid has a datagridtablestyle defined. I use the datagridtablestyle to change the order of the columns (so they can be different than...
5
by: Pavan | last post by:
My goal is to accomplish the tooltip functionality for all the neodes in a tree view and i have the following three Events in my C# application. Name of my TreeView Control (AITreeView) 1)...
1
by: Sim | last post by:
Hello NG, I try to use drag and drop function between two list views. For this I found following code: ...
2
by: Mohit | last post by:
Hi all, I am working on a windows application with a list view on a form. Now I wanted to show hand cursor when mouse is over list view item and default(arrow) cursor at other places. List...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.