Regarding Resolution In MFC
-
Hai frens, Do any body know how to control the enlarge and shrinkage of our application as a result of the change in the resolution of the monitor ? Plz let me know, some solution to scale our application depending on the resolution of the monitor using MFC. . . Thanx
-
Hai frens, Do any body know how to control the enlarge and shrinkage of our application as a result of the change in the resolution of the monitor ? Plz let me know, some solution to scale our application depending on the resolution of the monitor using MFC. . . Thanx
I am not certain but it is best that you figure it out for yourself. Here's a tip : Open up the spy and set it to monitor the messages your app's main window gets. Open up the display properties dialog and change the resolution. Note the particular message your app gets and handle it appropriately. __________________________________________ a two cent stamp short of going postal.
-
Hai frens, Do any body know how to control the enlarge and shrinkage of our application as a result of the change in the resolution of the monitor ? Plz let me know, some solution to scale our application depending on the resolution of the monitor using MFC. . . Thanx
You could try handling the
WM_SETTINGCHANGE
message. If it's called in response to a change in the screen's resolution, just re-get the res and resize your window accordingly. Otherwise, you could poll the screensize everyn
units of time (cheesy solution) to check the current screen res. /ravi My new year's resolution: 2048 x 1536 Home | Articles | Freeware | Music ravib@ravib.com