How Can I Make WindowsForm Application in High Resultion?

G

Guest

Hi!

I started to develop for Pocket Pc 2003. I have a test PDA(Hp IPAQ hx4700).
This PDA has high reolution(640*480), but if I make a Windows Form
Application (VS.NET2003 C#) and I get this resulotion: 320*240.
I use these commands to get resolution:
System.Windows.Forms.Screen.PrimaryScreen.Bounds.Width.ToString()
System.Windows.Forms.Screen.PrimaryScreen.Bounds.Height.ToString()

And if I make a Form width 640 ; 480 Size properties, I just see the
320*240px part of the form.

How Can I develop width 640*480?
 
P

Peter Foot [MVP]

Applications must be marked with a specific attribute to indicate they are
dpi-aware, otherwise the compatibility layer will use pixel doubling to fit
the screen, see this article for details:-
http://msdn.microsoft.com/library/e...ing_orientation_and_resolution_aware_apps.asp

Peter

--
Peter Foot
Windows Embedded MVP
www.inthehand.com | www.opennetcf.org

Do have an opinion on the effectiveness of Microsoft Windows Mobile and
Embedded newsgroups? Let us know!
https://www.windowsembeddedeval.com/community/newsgroups
 
G

Guest

Thanks Peter!

It's works.

But...:)

How Can I design the Form on visual feature?Or Do I forget the Design View
and I must try and try the settings of the Form?
 
R

Robert Levy [MS]

Unfortunately, we don't have a good high-res design-time story using Visual
Studio 2003 :(

In Visual Studio 2005, you'll have full docking and anchoring support which
will make it easy to set your form up to look good on any size display (just
like the desktop)

--
Robert Levy
Program Manager
Mobile Devices Product Group
http://blogs.msdn.com/windowsmobile

This posting is provided "AS IS" with no warranties, and confers no
rights.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top