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. Resize split window

Resize split window

Scheduled Pinned Locked Moved C / C++ / MFC
question
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.
  • J Offline
    J Offline
    john5632
    wrote on last edited by
    #1

    Hi I created 3 views on a view to make it like Windows Explore. I did not used CSplitterWnd class to split instaed created seperate on a view. I need to make these view resizable, how can I do it?

    enhzflepE M 2 Replies Last reply
    0
    • J john5632

      Hi I created 3 views on a view to make it like Windows Explore. I did not used CSplitterWnd class to split instaed created seperate on a view. I need to make these view resizable, how can I do it?

      enhzflepE Offline
      enhzflepE Offline
      enhzflep
      wrote on last edited by
      #2

      Hi. But that's exactly what a splitter is for.:confused: I don't understand why you wouldn't use it. You can handle resize-events of the frame/dialog easily enough to layout the 3 children windows. But re-writing code to handle individually resizing them wouldn't be my idea of a nice way to round-off the week. Is there any reason that you can't use a splitter window?

      "Science adjusts its views based on what's observed. Faith is the denial of observation, so that belief can be preserved." - Tim Minchin

      1 Reply Last reply
      0
      • J john5632

        Hi I created 3 views on a view to make it like Windows Explore. I did not used CSplitterWnd class to split instaed created seperate on a view. I need to make these view resizable, how can I do it?

        M Offline
        M Offline
        Mizan Rahman
        wrote on last edited by
        #3

        Use this: MFC/C++ Helper Class for Window Resizing[^] See Example 5 & 8

        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