PC Review


Reply
Thread Tools Rate Thread

ColumnHeader Control?

 
 
=?Utf-8?B?WWFyb24=?=
Guest
Posts: n/a
 
      2nd Mar 2004
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
 
Reply With Quote
 
 
 
 
Ken Tucker [MVP]
Guest
Posts: n/a
 
      2nd Mar 2004
Hi,

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

Ken
----------------
"Yaron" <(E-Mail Removed)> wrote in message
news:411E5A92-3BFB-4660-9FD6-(E-Mail Removed)...
> 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



 
Reply With Quote
 
Herfried K. Wagner [MVP]
Guest
Posts: n/a
 
      2nd Mar 2004
* "=?Utf-8?B?WWFyb24=?=" <(E-Mail Removed)> 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/>
 
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
DataGrid ColumnHeader Navin Microsoft C# .NET 0 12th May 2009 04:59 AM
Could not get the ColumnHeader.Name? YXQ Microsoft VB .NET 3 4th Nov 2008 01:07 PM
columnheader height Fred Microsoft C# .NET 0 5th Nov 2006 05:53 PM
How to get ListView Control subitem by columnHeader Name? =?Utf-8?B?UG9ueSBUc3Vp?= Microsoft Dot NET Framework Forms 2 18th May 2006 03:54 AM
listview and columnheader resize issue inside a custom control simion tishler via .NET 247 Microsoft Dot NET Framework Forms 0 28th Apr 2004 02:29 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 08:46 AM.