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

CSplitterWnd

Scheduled Pinned Locked Moved C / C++ / MFC
c++help
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.
  • T Offline
    T Offline
    TariqZ
    wrote on last edited by
    #1

    Hi I am trying to derive from CSplitterWnd but it is not listed in MFC base class list box. any help plz

    H M 2 Replies Last reply
    0
    • T TariqZ

      Hi I am trying to derive from CSplitterWnd but it is not listed in MFC base class list box. any help plz

      H Offline
      H Offline
      Hamid Taebi
      wrote on last edited by
      #2

      See Splitter Window Tutorial[^] is helpfus?


      WhiteSky


      1 Reply Last reply
      0
      • T TariqZ

        Hi I am trying to derive from CSplitterWnd but it is not listed in MFC base class list box. any help plz

        M Offline
        M Offline
        Mark Salsbery
        wrote on last edited by
        #3

        TariqZ wrote:

        I am trying to derive from CSplitterWnd but it is not listed in MFC base class list box

        You may have to actually type it in yourself :) Something like this should work:

        // In the .h file

        class AFX_EXT_CLASS CMySplitterWnd : public CSplitterWnd
        {
        DECLARE_DYNAMIC(CMySplitterWnd)

        public:
        CMySplitterWnd();
        virtual ~CMySplitterWnd();
        ...
        };

        // In the .cpp file

        IMPLEMENT_DYNAMIC(CMySplitterWnd, CSplitterWnd)

        CUluSplitterWnd::CMySplitterWnd() : CSplitterWnd()
        {
        ...
        }

        CMySplitterWnd::~CMySplitterWnd()
        {
        ...
        }

        ...

        "Posting a VB.NET question in the C++ forum will end in tears." Chris Maunder

        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