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. Splitter Windows

Splitter Windows

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.
  • F Offline
    F Offline
    funbag
    wrote on last edited by
    #1

    I'm using a dynamic splitter window to display multiple views. I would like to create a window similar to the MS Outlook window, with one view on the LHS and two views on the RHS, one above the other. m_wndSplitter.Create(...) arguments insist that you create a number of rows and columns for the views. My question is, given that I must create a splitter window with 2 rows and 2 columns in order to achieve the desired effect, How do I hide/remove(?) the unwanted view? Many thanx funbag X| skydiving....if at first you don't succeed, you're fecked!

    T N 2 Replies Last reply
    0
    • F funbag

      I'm using a dynamic splitter window to display multiple views. I would like to create a window similar to the MS Outlook window, with one view on the LHS and two views on the RHS, one above the other. m_wndSplitter.Create(...) arguments insist that you create a number of rows and columns for the views. My question is, given that I must create a splitter window with 2 rows and 2 columns in order to achieve the desired effect, How do I hide/remove(?) the unwanted view? Many thanx funbag X| skydiving....if at first you don't succeed, you're fecked!

      T Offline
      T Offline
      Tomasz Sowinski
      wrote on last edited by
      #2

      No, you achieve the Outlook-like layout with *two* splitters. First splitter splits window vertically. LHS is a view and RHS is another splitter which splits horizontally and hosts two views. Tomasz Sowinski -- http://www.shooltz.com
      ** If you're going to rape, pillage and burn, be sure to do things in that order. **

      1 Reply Last reply
      0
      • F funbag

        I'm using a dynamic splitter window to display multiple views. I would like to create a window similar to the MS Outlook window, with one view on the LHS and two views on the RHS, one above the other. m_wndSplitter.Create(...) arguments insist that you create a number of rows and columns for the views. My question is, given that I must create a splitter window with 2 rows and 2 columns in order to achieve the desired effect, How do I hide/remove(?) the unwanted view? Many thanx funbag X| skydiving....if at first you don't succeed, you're fecked!

        N Offline
        N Offline
        Nish Nishant
        wrote on last edited by
        #3

        In addition to what Tomasz said you should use CSplitterWnd::CreateStatic, since you'd want different views for each pane. Nish _I am looking for a free racing game. Old style racing game without any complicated 3D stuff. Around 4 MB download. If anyone has such a game, please inform me._

        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