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 resize the modal dialog

How to resize the modal dialog

Scheduled Pinned Locked Moved C / C++ / MFC
tutorialquestionlearning
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
    BlrBoy
    wrote on last edited by
    #1

    Hello All, I am launching a Modal dialog box on selecting of a menu item in my SDI application. I want that dialog to be resizable. Dialog box is created using Resource Editor and class is derived from CDialog and I launch using DoModal (). By Default Dialog box comes only with close button. I enabled Minimize and Maximize button property it allows me maximize and minimize only (Quite Natural ) and not able to resize the dialog window. I need only resizing and not minimize and maximize the dialog window. How can i achive it? plz guide me!!!! Thanks for your time. Ravi

    V 1 Reply Last reply
    0
    • B BlrBoy

      Hello All, I am launching a Modal dialog box on selecting of a menu item in my SDI application. I want that dialog to be resizable. Dialog box is created using Resource Editor and class is derived from CDialog and I launch using DoModal (). By Default Dialog box comes only with close button. I enabled Minimize and Maximize button property it allows me maximize and minimize only (Quite Natural ) and not able to resize the dialog window. I need only resizing and not minimize and maximize the dialog window. How can i achive it? plz guide me!!!! Thanks for your time. Ravi

      V Offline
      V Offline
      Viorel
      wrote on last edited by
      #2

      I think a dialog can be resized if its Border property (in Properties panel of Dialog Editor) is set to "Resizing". I hope this helps.

      M 1 Reply Last reply
      0
      • V Viorel

        I think a dialog can be resized if its Border property (in Properties panel of Dialog Editor) is set to "Resizing". I hope this helps.

        M Offline
        M Offline
        Maximilien
        wrote on last edited by
        #3

        yeah, but only the frame will be resized, the original poster will have to manually resize/move all the controls in the dialog. he can use one of the "resize manager" that can be found on CP to help him do that.


        Maximilien Lincourt Your Head A Splode - Strong Bad

        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