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. How to keep Size of Application Constant [Dialog Based]

How to keep Size of Application Constant [Dialog Based]

Scheduled Pinned Locked Moved C / C++ / MFC
c++tutorialquestion
2 Posts 2 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.
  • 0 Offline
    0 Offline
    002comp
    wrote on last edited by
    #1

    Hello Friends I created a Dialog based application in MFC Inherited from CFormView. I created this application on resolution 1024 X 768. But when I am opening the same application on another system with Higer Resolution then window is opening of full size in window with Extra Blank space in application other than Controls. Can we make application size Constant or make maximize button disable so tht on Higher resolution Desktop,it will not open up with blank space ? Or Can we resize controls according to resolution ? Thanks & Regards Yogesh Sikri

    CPalliniC 1 Reply Last reply
    0
    • 0 002comp

      Hello Friends I created a Dialog based application in MFC Inherited from CFormView. I created this application on resolution 1024 X 768. But when I am opening the same application on another system with Higer Resolution then window is opening of full size in window with Extra Blank space in application other than Controls. Can we make application size Constant or make maximize button disable so tht on Higher resolution Desktop,it will not open up with blank space ? Or Can we resize controls according to resolution ? Thanks & Regards Yogesh Sikri

      CPalliniC Offline
      CPalliniC Offline
      CPallini
      wrote on last edited by
      #2

      Both approaches are feasible and valid. Have a look at this page: Limiting Window Resizing - Resizing Controls[^].

      Veni, vidi, vici.

      In testa che avete, signor di Ceprano?

      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