Discussion:
automatic resizing of application UI upon running on different Windows OS platforms
(too old to reply)
navin
2010-08-02 20:44:50 UTC
Permalink
Raw Message
Hi,
I am in the process of developing an application whose UI utility i
want to display it in a 640 * 480 pixels LCD monitor. Here, the
application runs on WindowsXP OS. Also I want to execute the same
application simultaneously in a PDA display whose size is 320 * 240
pixels. Here in PDA, the application runs on WindowsMobile OS.

Please advise me on how to make the application automatically resized
when opened on different display devices say in a LCD (640 * 480) and
in a PDA (320 * 240).

Thanks,
Navy
navin
2010-08-02 20:47:30 UTC
Permalink
Raw Message
Post by navin
Hi,
I am in the process of developing an application whose UI utility i
want to display it in a 640 * 480 pixels LCD monitor. Here, the
application runs on WindowsXP OS. Also I want to execute the same
application simultaneously in a PDA display whose size is 320 * 240
pixels. Here in PDA, the application runs on WindowsMobile OS.
Please advise me on how to make the application automatically resized
when opened on different display devices say in a LCD (640 * 480) and
in a PDA (320 * 240).
Thanks,
Navy
Or this resizing task automatically be taken care by Windows OSes
themselves?
Dee Earley
2010-08-03 09:00:07 UTC
Permalink
Raw Message
Post by navin
Hi,
I am in the process of developing an application whose UI utility i
want to display it in a 640 * 480 pixels LCD monitor. Here, the
application runs on WindowsXP OS. Also I want to execute the same
application simultaneously in a PDA display whose size is 320 * 240
pixels. Here in PDA, the application runs on WindowsMobile OS.
Please advise me on how to make the application automatically resized
when opened on different display devices say in a LCD (640 * 480) and
in a PDA (320 * 240).
If you're writing for a PDA, you're most likely using .net which means
you can use the Dock and Anchor properties to make controls resize to
fit the form/other controls.

Note that you will probably get a better response by asking in the
dedicated VB.NET groups which have "vbnet" in the name (soon to be
defunct) or use the new forums.
--
Dee Earley (***@icode.co.uk)
i-Catcher Development Team

iCode Systems

(Replies direct to my email address will be ignored.
Please reply to the group.)
Dee Earley
2010-08-03 15:57:33 UTC
Permalink
Raw Message
Post by navin
Hi,
I am in the process of developing an application whose UI utility i
want to display it in a 640 * 480 pixels LCD monitor. Here, the
application runs on WindowsXP OS. Also I want to execute the same
application simultaneously in a PDA display whose size is 320 * 240
pixels. Here in PDA, the application runs on WindowsMobile OS.
Please advise me on how to make the application automatically resized
when opened on different display devices say in a LCD (640 * 480) and
in a PDA (320 * 240).
If you're writing for a PDA, you're most likely using .net.
Sorry, I hadn't noticed that this was a generic win32 group.
--
Dee Earley (***@icode.co.uk)
i-Catcher Development Team

iCode Systems

(Replies direct to my email address will be ignored.
Please reply to the group.)
Mihai N.
2010-08-03 15:33:48 UTC
Permalink
Raw Message
Post by navin
Please advise me on how to make the application automatically resized
when opened on different display devices say in a LCD (640 * 480) and
in a PDA (320 * 240).
There is nothing "out of the box" to do that for win32.
You should look for some 3rd party library.
--
Mihai Nita [Microsoft MVP, Visual C++]
http://www.mihai-nita.net
------------------------------------------
Replace _year_ with _ to get the real email
r***@pen_fact.com
2010-08-03 15:57:25 UTC
Permalink
Raw Message
Post by navin
Hi,
I am in the process of developing an application whose UI utility i
want to display it in a 640 * 480 pixels LCD monitor. Here, the
application runs on WindowsXP OS. Also I want to execute the same
application simultaneously in a PDA display whose size is 320 * 240
pixels. Here in PDA, the application runs on WindowsMobile OS.
Please advise me on how to make the application automatically resized
when opened on different display devices say in a LCD (640 * 480) and
in a PDA (320 * 240).
As the application starts, query the dimensions of the screen. And
then resize and reposition all the controls in your window(s). For
straight Win32, some of the relevant functions are GetSystemMetrics,
SystemParametersInfo, SHInitDialog, SHFullScreen, MoveWindow, and
SetWindowPos. For more, see my 4 December 2008 contribution to a
thread called "Maximize a window" in
microsoft.public.windowsce.embedded.vc. I use the same code for "big"
Windows and Windows Mobile.
Post by navin
Thanks,
Navy
-----------------------------------------
To reply to me, remove the underscores (_) from my email address (and please indicate which newsgroup and message).

Robert E. Zaret, MVP
PenFact, Inc.
20 Park Plaza, Suite 400
Boston, MA 02116
www.penfact.com
Loading...