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. Unable to View the MDI Static Splitter

Unable to View the MDI Static Splitter

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

    Hi, I have taken an MDI application and overriden the Childframe's OnCreateClient

    if (!m_mdiSplitWnd.CreateStatic(this, 2, 2,WS_CHILD | WS_VISIBLE|AFX_WS_DEFAULT_VIEW ))
    {
    TRACE0("Failed to CreateStaticSplitter\n");
    return FALSE;
    }
    m_mdiSplitWnd.CreateView(0,0,RUNTIME_CLASS(CMyEditView),CSize(100,100),pContext);
    m_mdiSplitWnd.CreateView(0,1,RUNTIME_CLASS(CSpreadSheetview),CSize(100,100),pContext);
    m_mdiSplitWnd.CreateView(1,0,RUNTIME_CLASS(CSpreadSheetview),CSize(100,100),pContext);
    m_mdiSplitWnd.CreateView(1,1,RUNTIME_CLASS(CSpreadSheetview),CSize(100,100),pContext);
    RecalcLayout();

    After running the application I am unbale to find a splitter in the childwnd ,hovering my mouse on I could notice the Splitters panes and Spreadsheet Ax Control in one of the views are partially visible.Also I could notice the splitter window is not sized when my childframe is maximized. What Should I do to make my splitter window clearly visible and also to be resized with respect to childframe? Thanks Satya

    Today is a gift, that's why it is called the present.

    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