Click here to Skip to main content
16,008,075 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Timeline Control Pin
Diarrhio21-Sep-01 0:49
Diarrhio21-Sep-01 0:49 
GeneralTerminating a Process Pin
20-Sep-01 11:43
suss20-Sep-01 11:43 
GeneralRe: Terminating a Process Pin
Ghazi H. Wadi20-Sep-01 12:55
Ghazi H. Wadi20-Sep-01 12:55 
GeneralRe: Terminating a Process Pin
20-Sep-01 12:58
suss20-Sep-01 12:58 
QuestionHow to enable sharing resources from an extension DLL? Pin
20-Sep-01 11:31
suss20-Sep-01 11:31 
AnswerRe: How to enable sharing resources from an extension DLL? Pin
Tomasz Sowinski20-Sep-01 11:46
Tomasz Sowinski20-Sep-01 11:46 
GeneralRe: How to enable sharing resources from an extension DLL? Pin
20-Sep-01 11:53
suss20-Sep-01 11:53 
Generalsubsplitter of splitter Pin
Peter Molnar20-Sep-01 10:11
Peter Molnar20-Sep-01 10:11 

Sirs,



I am about to create an SDI splitter app but
there are some unclear points to me.

First I created a splitter with 1 row and 2 coloums (both coloums
with a CView in them, CFirstView
and CSecondView) by using



m_wndSplitter.CreateStatic and

m_wndSplitter.CreateView

in the CMainFrame::OnCreateClient.



So far so good.



Now I want to create in CSecondView two further
rows, and place a property sheet in one of them.

Problem 1 is that being a view there is no CFrameWnd::OnCreateClient
within CSecondView, where CreateStatic
and CreateView are supposed to be placed.

Problem 2 is how to create a property sheet with
CreateView, or at least a CDialog on
which property pages could be placed.



I also tried (for 1 row 2 cols) deriving
from CFormView instead of CView but
it asserts ("Invalid Dialog Template"
in MFC/ViewForm.cpp). With CPropertySheet also
asserts ("Panes can be a CWnd but are usually CViews"
in MFC/Winsplit.cpp).



By deriving from CWnd
or CDialog it does not even compile (RUNTIME_CLASS:
"classCFirstView is not a member of CFirstView"
in m_wndSplitter.CreateView )



Your experience would be highly
appreciated. Thank you in advance.



 




Bunburry

Education is an admirable thing but it is well to remember from time to time that nothing that is worth knowing can be taught (O.Wilde)
GeneralRe: subsplitter of splitter Pin
Oscar Vazquez21-Sep-01 11:35
Oscar Vazquez21-Sep-01 11:35 
GeneralWindow paint problem when using CPropertySheet with CComboBox Pin
20-Sep-01 10:07
suss20-Sep-01 10:07 
GeneralStrange CTreeCtrl behavior Pin
Ken Goguen20-Sep-01 9:16
Ken Goguen20-Sep-01 9:16 
GeneralRe: Strange CTreeCtrl behavior Pin
Michael Dunn20-Sep-01 9:28
sitebuilderMichael Dunn20-Sep-01 9:28 
GeneralRe: Strange CTreeCtrl behavior Pin
Ken Goguen20-Sep-01 9:50
Ken Goguen20-Sep-01 9:50 
GeneralRe: Strange CTreeCtrl behavior Pin
Tomasz Sowinski20-Sep-01 9:29
Tomasz Sowinski20-Sep-01 9:29 
GeneralRe: Strange CTreeCtrl behavior Pin
Ken Goguen20-Sep-01 9:53
Ken Goguen20-Sep-01 9:53 
GeneralRe: Strange CTreeCtrl behavior Pin
Tomasz Sowinski20-Sep-01 9:57
Tomasz Sowinski20-Sep-01 9:57 
GeneralRe: Strange CTreeCtrl behavior Pin
Ken Goguen20-Sep-01 10:12
Ken Goguen20-Sep-01 10:12 
GeneralDLL Question Pin
#realJSOP20-Sep-01 9:03
professional#realJSOP20-Sep-01 9:03 
GeneralRe: DLL Question Pin
Tomasz Sowinski20-Sep-01 9:15
Tomasz Sowinski20-Sep-01 9:15 
GeneralOleAutomation Pin
duggie20-Sep-01 8:43
duggie20-Sep-01 8:43 
GeneralRe: OleAutomation Pin
Michael P Butler20-Sep-01 10:34
Michael P Butler20-Sep-01 10:34 
GeneralRe: OleAutomation Pin
duggie20-Sep-01 10:52
duggie20-Sep-01 10:52 
GeneralRe: OleAutomation Pin
Michael P Butler20-Sep-01 10:55
Michael P Butler20-Sep-01 10:55 
GeneralRe: OleAutomation Pin
Carlos Antollini20-Sep-01 10:53
Carlos Antollini20-Sep-01 10:53 
GeneralRe: OleAutomation Pin
duggie24-Sep-01 10:09
duggie24-Sep-01 10:09 

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.