Click here to Skip to main content
15,917,321 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Static CLass('s) Pin
Maxwell Chen5-Jan-08 19:08
Maxwell Chen5-Jan-08 19:08 
GeneralRe: Static CLass('s) Pin
Eytukan5-Jan-08 19:37
Eytukan5-Jan-08 19:37 
GeneralRe: Static CLass('s) Pin
Eytukan5-Jan-08 18:28
Eytukan5-Jan-08 18:28 
GeneralArrays Pin
babamara5-Jan-08 12:13
babamara5-Jan-08 12:13 
GeneralRe: Arrays Pin
CPallini5-Jan-08 12:27
mveCPallini5-Jan-08 12:27 
GeneralRe: Arrays Pin
Eytukan5-Jan-08 17:49
Eytukan5-Jan-08 17:49 
GeneralRe: Arrays Pin
Maxwell Chen5-Jan-08 17:56
Maxwell Chen5-Jan-08 17:56 
GeneralRe: Arrays [modified] Pin
babamara5-Jan-08 20:56
babamara5-Jan-08 20:56 
First Thank you all for replays. I'm still stack. So I will give you additional information . Please excuse my English I still learning. First I create the Array in my header file with template, like this:
CArray<CDialog *, CDialog *> dlgArray;
Then in my .cpp file I add some data:
dlgArray.Add(new CDlgSettings());
And I want to use this data by this way:
m_nPageCount = 1;<br />
for(int nCount=0; nCount < m_nPageCount; nCount++)<br />
	dlgArray.GetAt(nCount)->Create(m_DialogPages[nCount],GetParent());

My idea is to use the above code to insert dialog into Tab Control. The project is compiling without error, but when i try to open the dialog which contains the Tab Control I receive the folowing error.
Asseration Failed!<br />
MyProgram: File afxwin2.inl, Line 262


modified on Sunday, January 06, 2008 3:12:48 AM

GeneralRe: Arrays Pin
Maxwell Chen5-Jan-08 21:57
Maxwell Chen5-Jan-08 21:57 
GeneralRe: Arrays Pin
babamara5-Jan-08 22:21
babamara5-Jan-08 22:21 
GeneralRe: Arrays Pin
Maxwell Chen5-Jan-08 22:47
Maxwell Chen5-Jan-08 22:47 
GeneralRe: Arrays Pin
babamara5-Jan-08 23:32
babamara5-Jan-08 23:32 
GeneralRe: Arrays Pin
Maxwell Chen6-Jan-08 0:10
Maxwell Chen6-Jan-08 0:10 
QuestionRe: Arrays Pin
CPallini6-Jan-08 3:06
mveCPallini6-Jan-08 3:06 
Generalstatic pointer Pin
jupiter10005-Jan-08 11:59
jupiter10005-Jan-08 11:59 
GeneralRe: static pointer Pin
CPallini5-Jan-08 12:22
mveCPallini5-Jan-08 12:22 
GeneralRe: static pointer Pin
jupiter10005-Jan-08 12:46
jupiter10005-Jan-08 12:46 
GeneralRe: static pointer Pin
CPallini5-Jan-08 13:10
mveCPallini5-Jan-08 13:10 
GeneralProblem with mirrored bitmap Pin
AnTri5-Jan-08 9:04
AnTri5-Jan-08 9:04 
GeneralRe: Problem with mirrored bitmap Pin
Mark Salsbery5-Jan-08 9:50
Mark Salsbery5-Jan-08 9:50 
GeneralRe: Problem with mirrored bitmap Pin
AnTri5-Jan-08 10:24
AnTri5-Jan-08 10:24 
GeneralRe: Problem with mirrored bitmap Pin
Mark Salsbery5-Jan-08 10:30
Mark Salsbery5-Jan-08 10:30 
Questionmemory leak in the code? Pin
George_George5-Jan-08 4:02
George_George5-Jan-08 4:02 
AnswerRe: memory leak in the code? Pin
CPallini5-Jan-08 4:09
mveCPallini5-Jan-08 4:09 
GeneralRe: memory leak in the code? Pin
George_George5-Jan-08 4:16
George_George5-Jan-08 4:16 

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.