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. CSplitterWnd, split views and views and so on..

CSplitterWnd, split views and views and so on..

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

    Is it possible to split a view so it looks like this: ----------------- |A |B | | | | | | | | | | ----------------- |C | | | ----------------- view a, b, c,... and can I split view B again, and so on.... if so how??? Peter Marino

    L 1 Reply Last reply
    0
    • P Peter Marino

      Is it possible to split a view so it looks like this: ----------------- |A |B | | | | | | | | | | ----------------- |C | | | ----------------- view a, b, c,... and can I split view B again, and so on.... if so how??? Peter Marino

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

      u can split views in very twisted ways ... just check out the reuters terminal software (if you're in the financial markets) ... i've never seen so many splitter windows on one screen but surprisingly it is easy-ish to use so how to do it? heh ... use CSplitterWnd::Create() instead of CSplitterWnd::CreateStatic() ... then use CSplitterWnd::SplitRow() or CSplitterWnd::SplitColumn() and have fun :) mostly watching the human race is like watching dogs watch tv ... they see the pictures move but the meaning escapes them

      P 1 Reply Last reply
      0
      • L l a u r e n

        u can split views in very twisted ways ... just check out the reuters terminal software (if you're in the financial markets) ... i've never seen so many splitter windows on one screen but surprisingly it is easy-ish to use so how to do it? heh ... use CSplitterWnd::Create() instead of CSplitterWnd::CreateStatic() ... then use CSplitterWnd::SplitRow() or CSplitterWnd::SplitColumn() and have fun :) mostly watching the human race is like watching dogs watch tv ... they see the pictures move but the meaning escapes them

        P Offline
        P Offline
        Peter Marino
        wrote on last edited by
        #3

        it doesn't work I get an assert all the time, SIZE s; s.cx = 100; s.cy = 100; m_SplitterWnd.Create( this, 1, 2, s, pContext ); m_SplitterWnd.SplitColumn( x ); I tried using different values for x

        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