Re: How to draw a one-pixel line??

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



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>


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.
For what it is worth, I see what you say it *SHOULD* draw when I execute
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.

.



Relevant Pages

  • Re: How to draw a one-pixel line??
    ... monitor, and 1920x1200 on a little newer Samsung SyncMaster. ... resolution for it. ... So my recommendation, try to set the resolution to the recommended one by ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: Synch-on-Green LCD monitor for Vaxstation
    ... > so I spoke with Samsung today and found that Samsung has quite a few ... using the monitor menu. ... So if the LCD has native resolution of 1280x1024 and the ... Mr. CP Charges, CSC Computer Sciences ...
    (comp.os.vms)
  • Ping John Bean & David Taylor: Samsung 24" LCD monitor clarified
    ... resolution with what the damn thing must look like physically. ... I did call Samsung but they don't have a 24x7 customer support ... way to measure and is the same measurment as any TV or monitor, ... So, the embarassing bad news is, for which I sincerely apologize, ...
    (rec.photo.digital.slr-systems)
  • Re: FAT CITY on the Viewsonic VX2025wm
    ... setting the resolution is a function of the video card drivers ... and software, not the monitor. ... I'm also watching the price on the Samsung ...
    (alt.comp.hardware.pc-homebuilt)
  • Re: nvidia GeForce 7200 GS and 1600x1200 resolution
    ... monitor is running at the desired resolution.-:)) I'm curious though. ... Did you actually try my recommendation, nvidia-glx-177 I believe, and ... But, OTOH, i dont need more than the "correct" resolution (no compiz nor ...
    (Ubuntu)