Click here to Skip to main content
15,889,795 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi,

I am developing desktop application using MFC which has main screen i.e startup screen which has certain option avaiable to use other services. This application needs to run on different OS with different screen / monitor sizes which has different aspect ratio. I need to start developing it and need to decide which screen aspect ratio to choose. Can some body suggest me that which aspect ratio would be useful so that it can work well on different types of monitors/screens. I am aware of there are 3 types of aspect ratio (4:3, 16:9, 16:10) but need to understand which would be the best.
Also need to understand if aspect ratio changes do I need to handle images size.

If we make application full screen then can we handle it programatically.

Regds
SNI
Posted

1 solution

I suggest you ask the current desktop size and set dynamically your aspect ratio depending on it. To do it you can for example write something like:

C++
RECT rc;
GetWindowRect(GetDesktopWindow(), &rc);
 
Share this answer
 
v3
Comments
SNI 22-Aug-13 3:15am    
So you mean to say we can programatically adjust the size of image based on resolution. I have a doubt, if we have 4:3 size image and I make my resolution to 16:9 or 5:4 can then be image quality remains same?
SNI 24-Aug-13 5:31am    
Can some one suggest whether to choose 16:9 or 4:3 aspect ratio of screen as a base line for developing desktop applications. If we use either of the two then how to handle the quality of image for different screen resolution prgramtically.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900