|
-
September 22nd, 2003, 05:15 AM
#1
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.
-
September 22nd, 2003, 08:26 AM
#2
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.
-
September 22nd, 2003, 07:41 PM
#3
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
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|