This is a multi-part message in MIME format.
------=_NextPart_000_002B_01C5D404.36948D30
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
I have a bit of an odd problem.
A couple years ago, I built a little font explorer program in VB.Net. =
Nothing fancy, just enumerates all the fonts on a system and prints what =
some sample text would look like in each font. I created an owner-drawn =
ListBox and each item in the Items collection represented a screen font =
on the system.
I wanted to revamp it and get rid of this one little minor annoyance.
When placed on a form and run, she looks great. If I use the mouse wheel =
to scroll DOWN the ListBox, I notice an odd effect. The list items =
scroll into position correctly, but if you watch it closely as it =
animates, they are scrolling from the TOP-DOWN. The items are in the =
ListBox in the right order. Order is not the issue here.
If I were to describe what I perceive a little better, it looks like =
this:
I have 6 fonts in the ListBox. A, B, and C are visible in the client =
area. I use the mouse wheel to scroll down one unit and bring D into =
view. Watching the animation of the ListBox, D is brought to the top and =
quickly animated to the position where it would be expected.
--- --- --- ---
|A| |D| |C| |B|
|B| |E| |D| |C|
|C| |F| |E| |D|
--- --- --- ---
Has anyone seen this before? It's not really detrimental, but it's an =
extreme nuisance.
--=20
Any help is appreciated.
Thanks in advance.
Hong Kong Phooey
------=_NextPart_000_002B_01C5D404.36948D30
Content-Type: text/html;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 6.00.3790.2541" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY>
<DIV><FONT face=3DArial size=3D2>I have a bit of an odd =
problem.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>A couple years ago, I built a little =
font explorer=20
program in VB.Net. Nothing fancy, just enumerates all the fonts on a =
system and=20
prints what some sample text would look like in each font. I created an=20
owner-drawn ListBox and each item in the Items collection represented a =
screen=20
font on the system.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>I wanted to revamp it and get rid of =
this one=20
little minor annoyance.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>When placed on a form and run, she =
looks great. If=20
I use the mouse wheel to scroll DOWN the ListBox, I notice an odd =
effect. The=20
list items scroll into position correctly, but if you watch it closely =
as it=20
animates, they are scrolling from the TOP-DOWN. The items are in the =
ListBox in=20
the right order. Order is not the issue here.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>If I were to describe what I perceive a =
little=20
better, it looks like this:</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>I have 6 fonts in the ListBox. A, B, =
and C are=20
visible in the client area. I use the mouse wheel to scroll down one =
unit and=20
bring D into view. Watching the animation of the ListBox, D is brought =
to the=20
top and quickly animated to the position where it would be=20
expected.</FONT></DIV>
<DIV><FONT face=3D"Courier New" size=3D2>--- =20
--- --- ---</FONT></DIV>
<DIV><FONT face=3D"Courier New" =
size=3D2>|A| =20
|D| |C| |B|</FONT></DIV>
<DIV><FONT face=3D"Courier New" size=3D2>|B| =20
|E| |D| |C|</FONT></DIV>
<DIV><FONT face=3D"Courier New" =
size=3D2>|C| =20
|F| |E| |D|</FONT></DIV>
<DIV><FONT face=3D"Courier New" size=3D2>--- =20
--- --- ---</FONT></DIV>
<DIV><FONT size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial><FONT size=3D2></FONT><FONT=20
size=3D2></FONT></FONT> </DIV>
<DIV><FONT face=3DArial><FONT size=3D2>Has anyone seen this before? It's =
not really=20
detrimental, but it's an extreme nuisance.</FONT><BR></FONT><FONT =
face=3DArial=20
size=3D2>-- <BR><BR>Any help is appreciated.<BR>Thanks in =
advance.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>Hong Kong =
Phooey</FONT></DIV></BODY></HTML>
------=_NextPart_000_002B_01C5D404.36948D30--