The concept is based on the concept of drawing a number of coloured,
transparent picture boxes on the list view.
To accurately place the picture boxes over the list view one has to take
into account the height of the font.
Getting the height of the font has the following problems:
1. Different fonts have different heights.
2. The same font may not scale in a linear manner. i.e. - Size 16 may not be
double the height size 8.
3. Some fonts may not have certain sizes. E.g.: Arial does not have a size
10. If the user sets the font size to 10, windows overrides it and sets it
to 9.75.
All these problems boil down to the fact that it is difficult to find a
constant that can be multiplied to the font size to get the desired effect.
So the problem is how to get the height of the font?
Peter
>.
>
--
Regards - John Rischmiller.
mailto:jri...@btinternet.com
"Ishan Bhalla" <ishan...@hotmail.com> wrote in message
news:#9dEbMaICHA.2280@tkmsftngp12...
"Ishan Bhalla" <ishan...@hotmail.com>'s wild thoughts
were released on Tue, 2 Jul 2002 14:04:45 +0530 bearing the
following fruit:
--
The first scientists who studied fog were mistified. (Mike Bull)
Creating a Ledger-Style Listview Report Background
http://www.mvps.org/vbnet/index.html?code/comctl/lvledger.htm
or
Creating Ledger-Style Listview Report Background with Custom Height
http://www.mvps.org/vbnet/index.html?code/comctl/lvledgerrows.htm
--
Ken Halter
MS-MVP-VB
http://www.vbsight.com
http://www.vbsight.com/MultiColumn.htm
Please keep it in the groups..