473,411 Members | 2,093 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,411 software developers and data experts.

ColumnHeader Control?

Is there a class I can use in .NET which will draw column headers like those in ListView / Windows Explorer Details view

I'm creating a ListView type control and I don't want to draw the columns myself. I know in C++ 6, there was a class you could use which would do this, but I'm finding nothing in the docs anymore..

Any ideas

Yaron
Nov 20 '05 #1
2 1044
Hi,

http://www.codeproject.com/cs/miscct...arget=listview

Ken
----------------
"Yaron" <an*******@discussions.microsoft.com> wrote in message
news:41**********************************@microsof t.com...
Is there a class I can use in .NET which will draw column headers like those in ListView / Windows Explorer Details view?
I'm creating a ListView type control and I don't want to draw the columns myself. I know in C++ 6, there was a class you could use which would do
this, but I'm finding nothing in the docs anymore...
Any ideas?

Yaron

Nov 20 '05 #2
* "=?Utf-8?B?WWFyb24=?=" <an*******@discussions.microsoft.com> scripsit:
Is there a class I can use in .NET which will draw column headers like those in ListView / Windows Explorer Details view?


No.

P/invoke, sample in VB6 can be found here:

<http://vbnet.mvps.org/code/comctl/ccheader.htm>

--
Herfried K. Wagner [MVP]
<http://dotnet.mvps.org/>
Nov 20 '05 #3

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

Similar topics

0
by: singh | last post by:
using "Details" as a view mode in listview, but can't find an option to hide columnheader. does anyone know how to do it. thanks
4
by: Alan Seunarayan | last post by:
Hello, I have a number of ColumnHeaders that are 'hidden' (width set to zero). However, it is still possible to size them. The reason why they are hidden is to give the illusion that they do...
0
by: Shravan | last post by:
Hi, I saw that in Windows Forms DataGrid with new row creation set to true, if I have added a new row earlier which was empty and deleted the row and shifted the focus to any other control and...
1
by: joannelai | last post by:
Hi all, In my project I have a ListView and a ColumnClick event is added to sort the clicked column. I want to have a Context Menu when the ColumnHeader is right clicked, but I find no way to...
1
by: Fabian_20 | last post by:
Hello everybody, sry for the bad title :). I created an extended ListView with an extended ColumnHeader. If i add a new ColumnHeader through the designer, it appears on the left side of the...
3
by: pankajprakash | last post by:
hi all i m creating a window application and i used a listview control in a window's form. But when i try to build that application then the following error prompts : Cannot implicitly convert...
1
by: szuccaro | last post by:
I am reading an excel file into a datagridview and trying to perform some function based on the column header that is clicked. I currently can produce an event to occur (msgbox) but, I need to get...
1
by: Gregory Gadow | last post by:
I have a VS 2005 application with a ListView control in Details view. I have set it up so that clicking on a column header will sort the data in the control based on that column and toggle either...
3
by: =?Utf-8?B?WVhR?= | last post by:
I have set the names of each column on design-time, but the code below could not get their names, why? thank you. //////////////////////////////////////////////////////////////////////// For...
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
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
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
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,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...

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.