473,382 Members | 1,717 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,382 software developers and data experts.

Extend Listview

i need to change the fore and back colours of the headers of listview, as
well as put a icon in the header,

any snippet would be helpful, thank you
Nov 20 '05 #1
8 2080
I dont think you can put an ICON in the header in VB.NET. However, there is
another thread which tells you how to do it in C++. I dont know if this can
be ported somehow.

Look in the last four days or so.

Regards - OHM

Kovan A wrote:
i need to change the fore and back colours of the headers of
listview, as well as put a icon in the header,

any snippet would be helpful, thank you


Best Regards - OHMBest Regards - OHM On**********@BTInternet.Com
Nov 20 '05 #2
* "Kovan A" <ko***@isdusa.net> scripsit:
i need to change the fore and back colours of the headers of listview, as
well as put a icon in the header,


See (complete thread):

<http://groups.google.com/groups?selm=Omuy0HRuDHA.2060%40TK2MSFTNGP10.phx.gb l>

--
Herfried K. Wagner [MVP]
<http://www.mvps.org/dotnet>
Nov 20 '05 #3
when adding chrw(&H25BC) or chrw(H25B2) all i get is a squre showing up and
not the arrow..

"Herfried K. Wagner [MVP]" <hi***************@gmx.at> wrote in message
news:OV*************@TK2MSFTNGP11.phx.gbl...
* "Kovan A" <ko***@isdusa.net> scripsit:
i need to change the fore and back colours of the headers of listview, as well as put a icon in the header,
See (complete thread):

<http://groups.google.com/groups?selm...FTNGP10.phx.gb
l>
--
Herfried K. Wagner [MVP]
<http://www.mvps.org/dotnet>

Nov 20 '05 #4
* "Kovan A" <ko***@isdusa.net> scripsit:
when adding chrw(&H25BC) or chrw(H25B2) all i get is a squre showing up and
not the arrow..


You will have to go into the C++ code I referenced in the thread
mentioned before.

--
Herfried K. Wagner [MVP]
<http://www.mvps.org/dotnet>
Nov 20 '05 #5
You have to change from the default Font of SanSerif (which does not support
Unicode) to one that does like Arial.
--
Joe Fallon

"Kovan A" <ko***@isdusa.net> wrote in message
news:Og**************@TK2MSFTNGP11.phx.gbl...
when adding chrw(&H25BC) or chrw(H25B2) all i get is a squre showing up and not the arrow..

"Herfried K. Wagner [MVP]" <hi***************@gmx.at> wrote in message
news:OV*************@TK2MSFTNGP11.phx.gbl...
* "Kovan A" <ko***@isdusa.net> scripsit:
i need to change the fore and back colours of the headers of listview, as well as put a icon in the header,
See (complete thread):

<http://groups.google.com/groups?selm...FTNGP10.phx.gb l>

--
Herfried K. Wagner [MVP]
<http://www.mvps.org/dotnet>


Nov 20 '05 #6
you system time/date is wrong

Kovan A wrote:
i need to change the fore and back colours of the headers of
listview, as well as put a icon in the header,

any snippet would be helpful, thank you


Regards - OHM# On**********@BTInternet.com
Nov 20 '05 #7
* "Joe Fallon" <jf******@nospamtwcny.rr.com> scripsit:
You have to change from the default Font of SanSerif (which does not support
Unicode) to one that does like Arial.


IMO that's really ugly because it will be a non-standard UI.

;-)

--
Herfried K. Wagner [MVP]
<http://www.mvps.org/dotnet>
Nov 20 '05 #8
* "Kovan A" <ko***@isdusa.net> scripsit:
when adding chrw(&H25BC) or chrw(H25B2) all i get is a squre showing up and
not the arrow..


Did you change the font to "Arial"?

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

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

Similar topics

6
by: Anushya | last post by:
Hi I am using Listview and inherited listview control overriding WndProc & PreProcessMessage in ListView. I need this to customize listview to display only the page the user scrolls to. Since i...
0
by: Anushya | last post by:
Hi I am using Listview and inherited listview control overriding WndProc & PreProcessMessage in ListView. I need this to customize listview to display only the page the user scrolls to. Since i...
0
by: Mathias Soeken | last post by:
Hallo, in a ListView (Details View) the scrollbar appears, if there a more items than space. if you scroll the vertical scrollbar down, you can see the last item in the last col of the ListView....
0
by: keith | last post by:
In a ListView control (two columns), I added a few ListView items. ListView listview=new ListView(); listview.Parent=this; listview.View=View.Details; listview.Columns.Add...
7
by: Dave Y | last post by:
I am a newbie to C# and am having trouble trying to override a ListView property method. I have created a new class derived from the Forms.Listview and I cannot figure out the syntax to override...
7
by: BobAchgill | last post by:
I am trying to decide which of these controls to use to implement letting my user select a full row from MyList. The MyList has several columns which would be nice to sort by at run time. The...
2
by: Al Reid | last post by:
I need to extend a couple of controls to add a few custom properties, methods, etc. What is the correct way to do this. My first attempt (inheriting the control and adding the properties and...
2
by: Peter | last post by:
Hi, I have a problem with Listview using checkboxes. If i check items by code BEFORE the form is shown the Listview.Items are confused during the ItemChecked Event !!! After showing the...
4
by: Brian Gaze | last post by:
I have created a ListView control and have bound this to a datasource. Within the ItemTemplate of the ListView I have added another ListViewControl which is databound in the code behind. The idea...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 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 former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
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: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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...

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.