Click here to Skip to main content
15,900,663 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: how to delete icon of tool bar Pin
Hamid_RT2-Nov-08 2:42
Hamid_RT2-Nov-08 2:42 
Questionhow to jump to heap to execute code? Pin
Irfan Ul Haq1-Nov-08 19:34
Irfan Ul Haq1-Nov-08 19:34 
AnswerRe: how to jump to heap to execute code? Pin
Michael Dunn2-Nov-08 8:10
sitebuilderMichael Dunn2-Nov-08 8:10 
Questionwant to merge childwindow into the main window Pin
prithaa1-Nov-08 19:22
prithaa1-Nov-08 19:22 
AnswerRe: want to merge childwindow into the main window Pin
Nishad S2-Nov-08 20:07
Nishad S2-Nov-08 20:07 
GeneralRe: want to merge childwindow into the main window Pin
prithaa2-Nov-08 21:43
prithaa2-Nov-08 21:43 
GeneralRe: want to merge childwindow into the main window Pin
Nishad S2-Nov-08 21:52
Nishad S2-Nov-08 21:52 
GeneralRe: want to merge childwindow into the main window Pin
prithaa2-Nov-08 22:00
prithaa2-Nov-08 22:00 
hello,

The TableFrame's CreateFrame() is creating the Child Window and when the maximize is pressed the OnSize() is called.


TableFrame::CreateFrame()
{
if(!CMDIChildWnd::Create(NULL, FrameName , WS_VISIBLE | WS_CHILD |
WS_BORDER |WS_MAXIMIZEBOX | WS_MINIMIZEBOX |
WS_THICKFRAME | WS_OVERLAPPEDWINDOW
|WS_VSCROLL | WS_HSCROLL ,
WindowSize(), pFrame, NULL))
{
TRACE0("Failed to create view window\n");
return false;
}
}

void TableFrame::OnSize(int nType)
{
switch(nType)
{
case SIZE_MAXIMIZED :
{
CRect ParentRect;
MDIMaximize();
break;
}
}
}
GeneralRe: want to merge childwindow into the main window Pin
Nishad S2-Nov-08 22:50
Nishad S2-Nov-08 22:50 
GeneralRe: want to merge childwindow into the main window Pin
prithaa3-Nov-08 0:20
prithaa3-Nov-08 0:20 
GeneralRe: want to merge childwindow into the main window Pin
Nishad S3-Nov-08 0:31
Nishad S3-Nov-08 0:31 
GeneralRe: want to merge childwindow into the main window Pin
prithaa3-Nov-08 6:48
prithaa3-Nov-08 6:48 
GeneralRe: want to merge childwindow into the main window Pin
Nishad S3-Nov-08 18:51
Nishad S3-Nov-08 18:51 
GeneralRe: want to merge childwindow into the main window Pin
Nishad S3-Nov-08 21:28
Nishad S3-Nov-08 21:28 
GeneralRe: want to merge childwindow into the main window Pin
prithaa3-Nov-08 22:49
prithaa3-Nov-08 22:49 
GeneralRe: want to merge childwindow into the main window Pin
Nishad S4-Nov-08 1:34
Nishad S4-Nov-08 1:34 
GeneralRe: want to merge childwindow into the main window Pin
prithaa4-Nov-08 19:33
prithaa4-Nov-08 19:33 
QuestionMember Function Call by Pointer Pin
Bram van Kampen1-Nov-08 13:31
Bram van Kampen1-Nov-08 13:31 
AnswerRe: Member Function Call by Pointer Pin
Mark Salsbery1-Nov-08 15:46
Mark Salsbery1-Nov-08 15:46 
GeneralRe: Member Function Call by Pointer Pin
Bram van Kampen2-Nov-08 4:30
Bram van Kampen2-Nov-08 4:30 
AnswerRe: Member Function Call by Pointer Pin
David Crow1-Nov-08 16:13
David Crow1-Nov-08 16:13 
GeneralRe: Member Function Call by Pointer Pin
Bram van Kampen2-Nov-08 4:38
Bram van Kampen2-Nov-08 4:38 
GeneralRe: Member Function Call by Pointer Pin
Mark Salsbery2-Nov-08 8:03
Mark Salsbery2-Nov-08 8:03 
GeneralRe: Member Function Call by Pointer Pin
Bram van Kampen2-Nov-08 12:14
Bram van Kampen2-Nov-08 12:14 
GeneralRe: Member Function Call by Pointer Pin
Michael Dunn2-Nov-08 8:17
sitebuilderMichael Dunn2-Nov-08 8:17 

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.