Click here to Skip to main content
14,239,722 members
Rate this:
Please Sign up or sign in to vote.
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
Rate this:
Please Sign up or sign in to vote.

Solution 1

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.
   
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 ?
Rate this:
Please Sign up or sign in to vote.

Solution 2

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.
   

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




CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100