Click here to Skip to main content
15,881,092 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
i want to set my project in such a manner so that when it run at any client monitor it will arrange its size according to monitor resolution
Posted

I deleted your duplicate question. Your tag is 'application' which is sort of useless. Surely you want code in the language you use ?

.NET has Screens.PrimaryScreen which you can use to get the size of the main screen. You can iterate over AllScreens, too.

however, the best way to may your app fill the monitor is to maximise it.
 
Share this answer
 
Comments
sharmarun 11-May-12 1:20am    
how you decide for other people
are you here for share what other people think
just concentrate on your own work
or even share your self's view not others
hope you got my point
:P :P :P :P :P :P
Christian Graus 13-May-12 11:27am    
Wow - it took you two years to reply ?
I believe what you want is for your initial ShowWindow() call to be:
<br />
ShowWindow( hWnd, SW_SHOWMAXIMIZED );


Exactly how you do this, or what equivalent you use depends what you are using, which you haven't told us.
 
Share this answer
 

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