Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. Regarding Resolution In MFC

Regarding Resolution In MFC

Scheduled Pinned Locked Moved C / C++ / MFC
c++tutorialquestion
3 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • B Offline
    B Offline
    balajeedurai
    wrote on last edited by
    #1

    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

    R R 2 Replies Last reply
    0
    • B balajeedurai

      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

      R Offline
      R Offline
      Rick York
      wrote on last edited by
      #2

      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.

      1 Reply Last reply
      0
      • B balajeedurai

        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

        R Offline
        R Offline
        Ravi Bhavnani
        wrote on last edited by
        #3

        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 every n 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

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups