Re: Pset and SetPixel Bug
- From: "Clive Lumb" <clumb2@xxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Mon, 2 Mar 2009 16:36:32 +0100
"Mike Williams" <Mike@xxxxxxxxxxxxxxxxx> a écrit dans le message de news:
euNK4RnmJHA.4448@xxxxxxxxxxxxxxxxxxxxxxx
I've just come across what appears to be a very interesting little bug in[HUGE SNIP]
the VB Pset method when drawing to either a Form or PictureBox (Autoredraw
= False). At first I thought it might be just something to do with VB
itself, but the bug also appears to exists in the GDI SetPixel function,
which of course the VB Pset method uses.
The code is so straight forward that I can't believe I've done something
wrong myself, although I am getting a bit long in the tooth these days and
my brain is not quite as agile as it used to be so it is always possible
that I've slipped up! If anyone notices a problem with my code then I
would appreciate it if you would let me know.
"my brain is not quite as agile as it used to be "
Maybe your eyes too? Certainly so in my case.
Have you by any chance changed the character and icon sizes in Vista?
I found that the VB6 interface was greatly perturbed when I set Vista to use
larger fonts (120ppp instead of 96).
That said, I have tested your proggy on Vista/VB6/SP6 in both "normal" and
"blind old codger" modes and got solid lines both times.
I alos tried with screen resolutions other than the native maximum, still no
problems.
.
- Follow-Ups:
- Re: Pset and SetPixel Bug
- From: Mike Williams
- Re: Pset and SetPixel Bug
- References:
- Pset and SetPixel Bug
- From: Mike Williams
- Pset and SetPixel Bug
- Prev by Date: Re: OT MS Community Visibility
- Next by Date: Re: VB6 runtime is supported on Windows 7
- Previous by thread: Re: Pset and SetPixel Bug
- Next by thread: Re: Pset and SetPixel Bug
- Index(es):