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. Setting MDI child Window's Size

Setting MDI child Window's Size

Scheduled Pinned Locked Moved C / C++ / MFC
tutorialquestion
4 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.
  • F Offline
    F Offline
    F Dost
    wrote on last edited by
    #1

    could anyone tell me how to set min/max size of an child view in MDI Applications? Thanks F.Dost

    L M 2 Replies Last reply
    0
    • F F Dost

      could anyone tell me how to set min/max size of an child view in MDI Applications? Thanks F.Dost

      L Offline
      L Offline
      l a u r e n
      wrote on last edited by
      #2

      handle the OnSize() message --- "every year we invent better idiot proof systems and every year they invent better idiots"

      1 Reply Last reply
      0
      • F F Dost

        could anyone tell me how to set min/max size of an child view in MDI Applications? Thanks F.Dost

        M Offline
        M Offline
        Michael Dunn
        wrote on last edited by
        #3

        Handle the WM_GETMINMAXINFO message, where you tell Windows the min/max sizes of your windows. --Mike-- http://home.inreach.com/mdunn/ The Signature, back by popular demand: Buffy. Pajamas.

        F 1 Reply Last reply
        0
        • M Michael Dunn

          Handle the WM_GETMINMAXINFO message, where you tell Windows the min/max sizes of your windows. --Mike-- http://home.inreach.com/mdunn/ The Signature, back by popular demand: Buffy. Pajamas.

          F Offline
          F Offline
          F Dost
          wrote on last edited by
          #4

          Thanks for your help but, I did overwrite OnSize() setting cx and cy to what i want but it was ignored, i used it before and after the default call, i don't know what to do with WM_GETMINMAXINFO, i can't see it in classwizard, need more detail... Thanks F.Dost

          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