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

C / C++ / MFC

 
GeneralRe: COM components using VB or ATL Pin
Christian Graus24-Sep-01 13:09
protectorChristian Graus24-Sep-01 13:09 
GeneralRe: COM components using VB or ATL Pin
Michael P Butler24-Sep-01 22:18
Michael P Butler24-Sep-01 22:18 
Questionprinting a rectangle with brush? Pin
Eugene Pustovoyt24-Sep-01 5:26
Eugene Pustovoyt24-Sep-01 5:26 
AnswerRe: printing a rectangle with brush? Pin
Christian Graus24-Sep-01 12:56
protectorChristian Graus24-Sep-01 12:56 
Questiontemplate & IMPLEMENT_SERIAL ?? Pin
goupil24-Sep-01 5:16
goupil24-Sep-01 5:16 
AnswerRe: template & IMPLEMENT_SERIAL ?? Pin
Tomasz Sowinski24-Sep-01 6:24
Tomasz Sowinski24-Sep-01 6:24 
GeneralThanx you Pin
goupil24-Sep-01 6:41
goupil24-Sep-01 6:41 
Generalpropsheet in splitter Pin
Peter Molnar24-Sep-01 4:59
Peter Molnar24-Sep-01 4:59 
Sirs,

do you know how to create a property sheet or even a simple dialog in one pane of an SDI splitter window?
I have tried following code:

BOOL CMainFrame::OnCreateClient(LPCREATESTRUCT /*lpcs*/, CCreateContext* pContext)
{
//creating 1 row and 2 cols
BOOL bCreateSplitter= m_wndSplitter.CreateStatic(this, 1, 2);

//creating views
m_wndSplitter.CreateView(0,0,RUNTIME_CLASS(CFirstView),CSize(100,100), pContext);
m_wndSplitter.CreateView(0,1,RUNTIME_CLASS(CSecondView), CSize(100,100), pContext);

return bCreateSpltr;
}

where CFristView and CSecondView are generated by the class wizard, and FirstView.h and SecondView.h are included in MainFrm.h.
When CFristView and CSecondView are derived from CView everything is OK, it compiles and runs OK.
When the panes base class is a CFormView or CPropertySheet then it compiles though but asserts before creation of mainframe. When the base class is a CDialog or CWnd the code does not even compile ("classCFirstView is not a member of CFirstView").

Thank you for your help 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: propsheet in splitter Pin
Paolo Messina25-Sep-01 0:14
professionalPaolo Messina25-Sep-01 0:14 
Generalneed help concerning link.exe Pin
Belarophon24-Sep-01 4:55
Belarophon24-Sep-01 4:55 
GeneralDisplaying Bitmaps for Printing Pin
Chris Klecker24-Sep-01 4:14
Chris Klecker24-Sep-01 4:14 
GeneralRe: Displaying Bitmaps for Printing Pin
Oscar Vazquez24-Sep-01 6:24
Oscar Vazquez24-Sep-01 6:24 
QuestionSTL vector or list? Pin
Jeremy Pullicino24-Sep-01 2:43
Jeremy Pullicino24-Sep-01 2:43 
AnswerRe: STL vector or list? Pin
Tomasz Sowinski24-Sep-01 3:41
Tomasz Sowinski24-Sep-01 3:41 
AnswerRe: STL vector or list? Pin
Aaron Schaefer24-Sep-01 5:44
Aaron Schaefer24-Sep-01 5:44 
AnswerUse set Pin
Nemanja Trifunovic24-Sep-01 5:49
Nemanja Trifunovic24-Sep-01 5:49 
AnswerRe: STL vector or list? Pin
Christian Graus24-Sep-01 13:09
protectorChristian Graus24-Sep-01 13:09 
GeneralRe: STL vector or list? Pin
Jeremy Pullicino24-Sep-01 21:56
Jeremy Pullicino24-Sep-01 21:56 
GeneralDirectShow & Video Capture Pin
#realJSOP24-Sep-01 2:02
professional#realJSOP24-Sep-01 2:02 
GeneralRe: DirectShow & Video Capture Pin
Christian Graus24-Sep-01 2:36
protectorChristian Graus24-Sep-01 2:36 
GeneralRe: DirectShow & Video Capture Pin
#realJSOP24-Sep-01 3:22
professional#realJSOP24-Sep-01 3:22 
GeneralTreeview selection Pin
24-Sep-01 1:18
suss24-Sep-01 1:18 
GeneralRe: Treeview selection Pin
Tomasz Sowinski24-Sep-01 4:04
Tomasz Sowinski24-Sep-01 4:04 
GeneralIntercepting parent messages Pin
24-Sep-01 0:48
suss24-Sep-01 0:48 
GeneralRe: Intercepting parent messages Pin
Tomasz Sowinski24-Sep-01 3:49
Tomasz Sowinski24-Sep-01 3:49 

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.