M
Mike Chamberlain
Hello!
I'm using .NET 2.0, Windows Forms and VS2005 to develop a full-screen
touch-screen application. It all looks great on two different
development machines (both WinXP Pro, latest service packs), but when we
run it on the prototype machine (WinXP Pro, not genuine so missing some
of the latest service packs - don't worry we do have licenses and will
upgrade it at some point) it doesn't display as it should.
It's easier to see what's wrong if you look at a couple of screenshots:
Correct (both development machines):
http://www.unitedwholesale.com.au/tmp/screenshot_good.jpg
Wrong (prototype machine):
http://www.unitedwholesale.com.au/tmp/screenshot_bad.jpg
The elements are a mixture of PictureBoxes (containing PNGs) and Labels.
The size of the form is set to 1024 x 768 (matching the resolution of
the prototype machine). Its window state is set to normal. If I
maximized the form then it does fill the whole screen on the prototype
machine, but the positioning of the elements is still wrong.
For example, on the bad screenshot, you can see how the darker grey
overlaps the top banner (both are PNGs) and obscures some of the text
("add credit to your card here"). This is despite the fact that the
darker grey PictureBox's absolute location is set to (0, 145), which
should position it clear of the top banner, which has a height of 145
pixels.
The graphics card on the prototype machine is very basic and only
supports a max resolution of 1024x768, which is fine for what we need,
but makes me think this is the most likely culprit. Still, it seems
very strange, and I was wondering if any gurus could make any other
suggestions.
Cheers in advance for any help,
Mike
I'm using .NET 2.0, Windows Forms and VS2005 to develop a full-screen
touch-screen application. It all looks great on two different
development machines (both WinXP Pro, latest service packs), but when we
run it on the prototype machine (WinXP Pro, not genuine so missing some
of the latest service packs - don't worry we do have licenses and will
upgrade it at some point) it doesn't display as it should.
It's easier to see what's wrong if you look at a couple of screenshots:
Correct (both development machines):
http://www.unitedwholesale.com.au/tmp/screenshot_good.jpg
Wrong (prototype machine):
http://www.unitedwholesale.com.au/tmp/screenshot_bad.jpg
The elements are a mixture of PictureBoxes (containing PNGs) and Labels.
The size of the form is set to 1024 x 768 (matching the resolution of
the prototype machine). Its window state is set to normal. If I
maximized the form then it does fill the whole screen on the prototype
machine, but the positioning of the elements is still wrong.
For example, on the bad screenshot, you can see how the darker grey
overlaps the top banner (both are PNGs) and obscures some of the text
("add credit to your card here"). This is despite the fact that the
darker grey PictureBox's absolute location is set to (0, 145), which
should position it clear of the top banner, which has a height of 145
pixels.
The graphics card on the prototype machine is very basic and only
supports a max resolution of 1024x768, which is fine for what we need,
but makes me think this is the most likely culprit. Still, it seems
very strange, and I was wondering if any gurus could make any other
suggestions.
Cheers in advance for any help,
Mike