CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3
  1. #1
    Join Date
    May 2002
    Posts
    49

    Explorer like application-pls guide me

    Hi everybody,

    I want to develop a windows explorer like shell
    program.

    which option is best?

    Either Dialog based application or SDI application?

    Is it possible to do it in dialog based code?
    by putting tree ctrl and list ctrl?

    or should i go for CTreeView and CListView?

    pls guide me.

  2. #2
    Join Date
    Feb 2002
    Posts
    60
    Hi,
    Using SDI is my favorite option.
    In the main frame insert splitter window member. Then override OnCreateClient as follows:
    m_vertical_splitter.CreateStatic(this, 1, 2);
    m_vertical_splitter.CreateView(0,0, RUNTIME_CLASS(CMyTreeViewOnLeftPane), CSize(0, 0), pContext);
    m_vertical_splitter.CreateView(0,1, RUNTIME_CLASS(CMyListViewOnRightPane), CSize(0, 0), pContext);
    where CMyTreeViewOnLeftPane derives from CTreeView and CMyListViewOnRightPane derives from CListView.

    That's about it.

  3. #3
    Join Date
    May 2002
    Posts
    49

    ok

    hi ,

    Thanks.Thats what i wanted.
    but if i am asked to do in a dialog based application,
    how can i proceed?

    any idea?

    CTreeCtrl and CListCtrl??

    In SDI we caqn update both views in OnInitialUpdate()..
    but in Dilaog code how to update the controls?

    senthil

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured