Click here to Skip to main content
16,011,778 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Tab or No Tab :: C++ Compilers Pin
valikac8-Feb-02 10:48
valikac8-Feb-02 10:48 
General.cur files Pin
Steve L.7-Feb-02 16:01
Steve L.7-Feb-02 16:01 
GeneralRe: .cur files Pin
alex.barylski7-Feb-02 16:11
alex.barylski7-Feb-02 16:11 
GeneralRe: .cur files Pin
8-Feb-02 2:56
suss8-Feb-02 2:56 
GeneralRe: .cur files Pin
8-Feb-02 2:57
suss8-Feb-02 2:57 
GeneralCSplitterWnd Pin
alex.barylski7-Feb-02 15:16
alex.barylski7-Feb-02 15:16 
GeneralRe: CSplitterWnd Pin
Nish Nishant7-Feb-02 16:26
sitebuilderNish Nishant7-Feb-02 16:26 
GeneralRe: CSplitterWnd Pin
alex.barylski7-Feb-02 17:01
alex.barylski7-Feb-02 17:01 
Created in CMainFrame OnCreateClient yup...I figured out, or rather fixed them problem...can't say exactly what was causing the views no to show. However it seems that CMainFrame had OnSetFocus() OnCmdMsg() overridded and they were empty, when i removed these functions...the panes magically appeared???

Nish [BusterBoy] wrote:
Now I don't see why you would want to create a CView derived object and pass that to the splitter function

What do you mean...i thought you had to use CView derived classes in splitter windows...?

The classes i'm actually using are CSortListCtrl(found here on CP) but I converted it into a CListView, cuz i thought only views were allowed. And again CTreeview, I need a windows explorer type SDI

Tree on the left, list on the right...

Unless I mis-understood you earlier, i'll ask agin.

I can't do the following..?

//CMainFrame
CSortListCtrl  m_ctlrList;

//OnCreateClient
m_wndSplit.CreateView(0, 1, RUNTIME_CLASS(m_ctrlList), blah...);

Is this because CreateView is creating the instance of CSortListView(or whatever) itself using rtti...?

If so, once i have my panes created, how could i call the derived CView classes member functions...? Like a CListView AddItem()...?

Thanx Nish!

"An expert is someone who has made all the mistakes in his or her field" - Niels Bohr
GeneralRe: CSplitterWnd Pin
Nish Nishant7-Feb-02 17:32
sitebuilderNish Nishant7-Feb-02 17:32 
GeneralRe: CSplitterWnd Pin
alex.barylski7-Feb-02 17:39
alex.barylski7-Feb-02 17:39 
GeneralRe: CSplitterWnd Pin
alex.barylski7-Feb-02 17:11
alex.barylski7-Feb-02 17:11 
GeneralRe: CSplitterWnd Pin
Nish Nishant7-Feb-02 18:07
sitebuilderNish Nishant7-Feb-02 18:07 
GeneralRe: CSplitterWnd Pin
alex.barylski7-Feb-02 19:02
alex.barylski7-Feb-02 19:02 
Generalonly 1 instance Pin
7-Feb-02 15:14
suss7-Feb-02 15:14 
GeneralRe: only 1 instance Pin
alex.barylski7-Feb-02 15:19
alex.barylski7-Feb-02 15:19 
GeneralRe: only 1 instance Pin
Jim Howard7-Feb-02 17:21
Jim Howard7-Feb-02 17:21 
GeneralRe: only 1 instance Pin
alex.barylski7-Feb-02 17:38
alex.barylski7-Feb-02 17:38 
GeneralRe: only 1 instance Pin
Nish Nishant7-Feb-02 16:20
sitebuilderNish Nishant7-Feb-02 16:20 
GeneralVery weird problem... Pin
Sprudling7-Feb-02 14:32
Sprudling7-Feb-02 14:32 
GeneralRe: Very weird problem... Pin
Rick York7-Feb-02 15:14
mveRick York7-Feb-02 15:14 
GeneralRe: Very weird problem... Pin
Sprudling7-Feb-02 15:40
Sprudling7-Feb-02 15:40 
GeneralRe: Very weird problem... Pin
Rick York7-Feb-02 16:12
mveRick York7-Feb-02 16:12 
GeneralRe: Very weird problem... Pin
Nish Nishant7-Feb-02 16:23
sitebuilderNish Nishant7-Feb-02 16:23 
GeneralRe: Very weird problem... Pin
Sprudling7-Feb-02 16:29
Sprudling7-Feb-02 16:29 
GeneralRe: Very weird problem... Pin
Nish Nishant7-Feb-02 16:33
sitebuilderNish Nishant7-Feb-02 16:33 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.