Click here to Skip to main content
15,902,894 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Problem about shared list by MDI child views Pin
Rajkumar R1-Jun-08 1:09
Rajkumar R1-Jun-08 1:09 
AnswerRe: Problem about shared list by MDI child views Pin
Nelek1-Jun-08 6:38
protectorNelek1-Jun-08 6:38 
QuestionTime Bomb in VS5.00 Pin
Bram van Kampen31-May-08 17:25
Bram van Kampen31-May-08 17:25 
AnswerRe: Time Bomb in VS5.00 Pin
Gary R. Wheeler1-Jun-08 1:05
Gary R. Wheeler1-Jun-08 1:05 
GeneralRe: Time Bomb in VS5.00 Pin
Bram van Kampen2-Jun-08 15:36
Bram van Kampen2-Jun-08 15:36 
QuestionUsing Help Workshop in MFC VS2008 Pin
Larry Mills Sr31-May-08 15:40
Larry Mills Sr31-May-08 15:40 
QuestionInstallShield and non English languages Pin
Joseph Marzbani31-May-08 9:31
Joseph Marzbani31-May-08 9:31 
Question[MFC] Split a form Pin
Schehaider_Aymen31-May-08 8:00
Schehaider_Aymen31-May-08 8:00 
Hi,

I found some tuto to split a frame and it worked but i have an issue, what i wanna is to split a frame that is not the principal frame of my apps.

I followed those steps:
1:
class CMainFrame : public CFrameWnd
{
protected: // create from serialization only
CMainFrame();
DECLARE_DYNCREATE(CMainFrame)

// Attributes
public:
CSplitterWnd m_wndSplitter;


2:
BOOL CMainFrame::OnCreateClient(LPCREATESTRUCT lpcs, CCreateContext* pContext) 
{
// TODO: Add your specialized code here and/or call the base class
if (!m_wndSplitter.CreateStatic(this, 1, 2))return FALSE;

if (!m_wndSplitter.CreateView(0, 0, RUNTIME_CLASS(CSdiSplitterView), CSize(100, 100), pContext) ||
!m_wndSplitter.CreateView(0, 1, RUNTIME_CLASS(CMyFormView), CSize(100, 100), pContext))
{
m_wndSplitter.DestroyWindow();
return FALSE;
}
return TRUE;
}


That works but it splits the first Interface, But i wanna split another intrface when the user go to a specific one.


What shoul i alter on that code to make it run. ?

Thx!!! I really Need Help. Dead | X|

"The Ultimate Limit Is Only Your Imagination."

AnswerRe: [MFC] Split a form Pin
Schehaider_Aymen31-May-08 10:25
Schehaider_Aymen31-May-08 10:25 
AnswerRe: [MFC] Split a form Pin
Nelek1-Jun-08 6:06
protectorNelek1-Jun-08 6:06 
GeneralRe: [MFC] Split a form Pin
Schehaider_Aymen1-Jun-08 13:14
Schehaider_Aymen1-Jun-08 13:14 
Questionnumeric keypads Pin
Tom Paronis31-May-08 6:24
Tom Paronis31-May-08 6:24 
QuestionHow to control data from edit box Pin
Trupti Mehta31-May-08 4:24
Trupti Mehta31-May-08 4:24 
AnswerRe: How to control data from edit box Pin
Schehaider_Aymen31-May-08 4:30
Schehaider_Aymen31-May-08 4:30 
GeneralRe: How to control data from edit box Pin
Jijo.Raj31-May-08 5:42
Jijo.Raj31-May-08 5:42 
GeneralRe: How to control data from edit box Pin
Schehaider_Aymen31-May-08 7:55
Schehaider_Aymen31-May-08 7:55 
JokeRe: How to control data from edit box Pin
Nelek1-Jun-08 6:03
protectorNelek1-Jun-08 6:03 
AnswerRe: How to control data from edit box Pin
Rajesh R Subramanian31-May-08 4:33
professionalRajesh R Subramanian31-May-08 4:33 
AnswerRe: How to control data from edit box Pin
Hamid_RT31-May-08 8:24
Hamid_RT31-May-08 8:24 
QuestionDraw into a STATIC Pin
Schehaider_Aymen31-May-08 4:21
Schehaider_Aymen31-May-08 4:21 
AnswerRe: Draw into a STATIC Pin
Rajesh R Subramanian31-May-08 4:34
professionalRajesh R Subramanian31-May-08 4:34 
AnswerRe: Draw into a STATIC Pin
Hamid_RT31-May-08 8:21
Hamid_RT31-May-08 8:21 
GeneralRe: Draw into a STATIC Pin
Schehaider_Aymen31-May-08 8:28
Schehaider_Aymen31-May-08 8:28 
Question[Message Deleted] Pin
Trupti Mehta31-May-08 4:19
Trupti Mehta31-May-08 4:19 
AnswerREPOST! PLEASE IGNORE Pin
Rajesh R Subramanian31-May-08 4:35
professionalRajesh R Subramanian31-May-08 4:35 

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.