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

C / C++ / MFC

 
AnswerRe: Dynamic array of afx_msg functions - using CPtrArray ( MFC VC 6.0) Pin
ThatsAlok5-Jan-12 2:44
ThatsAlok5-Jan-12 2:44 
GeneralRe: Dynamic array of afx_msg functions - using CPtrArray ( MFC VC 6.0) Pin
Vaclav_5-Jan-12 6:08
Vaclav_5-Jan-12 6:08 
Questionclass array, better understanding of it Pin
jkirkerx2-Jan-12 13:14
professionaljkirkerx2-Jan-12 13:14 
AnswerRe: class array, better understanding of it Pin
Richard MacCutchan2-Jan-12 22:02
mveRichard MacCutchan2-Jan-12 22:02 
GeneralRe: class array, better understanding of it Pin
jkirkerx3-Jan-12 7:22
professionaljkirkerx3-Jan-12 7:22 
GeneralRe: class array, better understanding of it Pin
Richard MacCutchan3-Jan-12 22:28
mveRichard MacCutchan3-Jan-12 22:28 
GeneralRe: class array, better understanding of it Pin
jkirkerx4-Jan-12 6:54
professionaljkirkerx4-Jan-12 6:54 
AnswerRe: class array, better understanding of it Pin
Stefan_Lang3-Jan-12 5:26
Stefan_Lang3-Jan-12 5:26 
Why not this way?
C++
// Create an Class Array Structure to hold the values
UA_Listbox *uaListBoxArray;
uaListBoxArray = new UA_Listbox[dwCount];
 
uaListBoxArray[0].iUserID = 47;
uaListBoxArray[0].szFirstName = L"Tim";
uaListBoxArray[0].szLastName = L"Parker";
uaListBoxArray[0].szAccountName = L"tparker";
 
uaListBoxArray[1].iUserID = 48;
uaListBoxArray[1].szFirstName = L"Joe";
uaListBoxArray[1].szLastName = L"Smoe";
uaListBoxArray[1].szAccountName = L"jsmoe";

// ... do something

delete [] uaListBoxArray; // clean up

GeneralRe: class array, better understanding of it Pin
jkirkerx3-Jan-12 7:24
professionaljkirkerx3-Jan-12 7:24 
GeneralRe: class array, better understanding of it Pin
Stefan_Lang3-Jan-12 22:41
Stefan_Lang3-Jan-12 22:41 
GeneralRe: class array, better understanding of it Pin
jkirkerx4-Jan-12 7:08
professionaljkirkerx4-Jan-12 7:08 
QuestionCreateThread Pin
columbos149272-Jan-12 5:14
columbos149272-Jan-12 5:14 
AnswerRe: CreateThread Pin
Richard MacCutchan2-Jan-12 6:18
mveRichard MacCutchan2-Jan-12 6:18 
AnswerRe: CreateThread Pin
Chris Losinger2-Jan-12 6:56
professionalChris Losinger2-Jan-12 6:56 
GeneralRe: CreateThread Pin
Richard MacCutchan2-Jan-12 7:31
mveRichard MacCutchan2-Jan-12 7:31 
GeneralRe: CreateThread Pin
Chris Losinger2-Jan-12 7:34
professionalChris Losinger2-Jan-12 7:34 
GeneralRe: CreateThread Pin
Richard MacCutchan2-Jan-12 21:52
mveRichard MacCutchan2-Jan-12 21:52 
AnswerRe: CreateThread Pin
Rajesh R Subramanian2-Jan-12 7:42
professionalRajesh R Subramanian2-Jan-12 7:42 
AnswerRe: CreateThread Pin
CPallini2-Jan-12 8:16
mveCPallini2-Jan-12 8:16 
QuestionWant to Do This for a Living Pin
DragonHeart3351-Jan-12 10:31
DragonHeart3351-Jan-12 10:31 
AnswerRe: Want to Do This for a Living Pin
CPallini1-Jan-12 10:42
mveCPallini1-Jan-12 10:42 
GeneralRe: Want to Do This for a Living Pin
DragonHeart3351-Jan-12 11:09
DragonHeart3351-Jan-12 11:09 
GeneralRe: Want to Do This for a Living Pin
CPallini1-Jan-12 11:20
mveCPallini1-Jan-12 11:20 
QuestionRe: Want to Do This for a Living Pin
Randor 1-Jan-12 20:51
professional Randor 1-Jan-12 20:51 
AnswerRe: Want to Do This for a Living Pin
CPallini1-Jan-12 21:28
mveCPallini1-Jan-12 21:28 

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.