473,395 Members | 1,696 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,395 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 2082
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...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
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
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
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...

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.