Re: How to draw a one-pixel line??
- From: "vanderghast" <vanderghast@com>
- Date: Thu, 5 Nov 2009 09:01:57 -0500
I can see fine alternated lines on both on both 1280x1024 on a old Dell monitor, and 1920x1200 on a little newer Samsung SyncMaster. BUT if I change the SyncMaster to 1280 x 1024, then I obtain ugly thick horizontal dark bars alternating with fine light ones BECAUSE 1280x1024 IS NOT a recommended resolution for it. Nothing to do with C#, DotNet, the driver, the video card. In fact, capturing the screen in 1280x1024, saving the file, changing back the resolution to the recommended one by Samsung for that monitor, and then displaying the captured bitmap in that new resolution... it shows ok, the ugly pattern has disappear! Or sliding the image from the Samsung at 1280x1024 onto the Dell also at 1280x1024 (which is the recommended one for that particular Dell), and the image is drawn as intended!
So my recommendation, try to set the resolution to the recommended one by the MONITOR maker, and if you have lost the doc, try different resolutions and keep the one which look best. No code involved.
Vanderghast, Access MVP
"Loren Pechtel" <lorenpechtel@xxxxxxxxxxxxxxxxxxx> wrote in message news:OiUW%23PdXKHA.4816@xxxxxxxxxxxxxxxxxxxxxxx
On Wed, 04 Nov 2009 21:55:05 -0500, Family Tree Mike
<FamilyTreeMike@xxxxxxxxxxxxxxxx> wrote:
Loren Pechtel wrote:On Wed, 04 Nov 2009 20:40:56 -0500, Family Tree Mike
<FamilyTreeMike@xxxxxxxxxxxxxxxx> wrote:
Loren Pechtel wrote:On Wed, 04 Nov 2009 12:30:56 -0800, Peter Duniho
<no.peted.spam@xxxxxxxxxxxxxxxxxx> wrote:
<snip>
For what it is worth, I see what you say it *SHOULD* draw when I execute
This code *SHOULD* draw one half of the screen with vertical lines and
one half with horizontal. I'm getting a gray mass on the left and the
expected behavior on the right.
your routine.
What in the world is the difference then? How do I get it to draw
what you're seeing?
I suspect screen settings. When I set my display settings really
poorly, then I see what you observe. My normal settings are 1680x1050
32 bit color.
3x 1280x1024 @ 32bit.
.
- Follow-Ups:
- Re: How to draw a one-pixel line??
- From: Loren Pechtel
- Re: How to draw a one-pixel line??
- References:
- How to draw a one-pixel line??
- From: Loren Pechtel
- Re: How to draw a one-pixel line??
- From: Peter Duniho
- Re: How to draw a one-pixel line??
- From: Loren Pechtel
- Re: How to draw a one-pixel line??
- From: Peter Duniho
- Re: How to draw a one-pixel line??
- From: Loren Pechtel
- Re: How to draw a one-pixel line??
- From: Family Tree Mike
- Re: How to draw a one-pixel line??
- From: Loren Pechtel
- Re: How to draw a one-pixel line??
- From: Family Tree Mike
- Re: How to draw a one-pixel line??
- From: Loren Pechtel
- How to draw a one-pixel line??
- Prev by Date: Re: Signed Assembly Setup Project Issue with x86 and x64
- Next by Date: Re: How to draw a one-pixel line??
- Previous by thread: Re: How to draw a one-pixel line??
- Next by thread: Re: How to draw a one-pixel line??
- Index(es):
Relevant Pages
|