Click here to Skip to main content
15,914,066 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: CFileDialog: HELP Pin
Tomasz Sowinski3-Oct-02 10:29
Tomasz Sowinski3-Oct-02 10:29 
GeneralRe: CFileDialog: HELP Pin
Sunnygirl3-Oct-02 11:02
Sunnygirl3-Oct-02 11:02 
GeneralRe: CFileDialog: HELP Pin
Shog93-Oct-02 10:34
sitebuilderShog93-Oct-02 10:34 
GeneralDelete STL list Pin
Chris Richardson3-Oct-02 9:51
Chris Richardson3-Oct-02 9:51 
GeneralRe: Delete STL list Pin
Tomasz Sowinski3-Oct-02 10:08
Tomasz Sowinski3-Oct-02 10:08 
GeneralRe: Delete STL list Pin
Chris Richardson3-Oct-02 10:10
Chris Richardson3-Oct-02 10:10 
GeneralRe: Delete STL list Pin
Joaquín M López Muñoz3-Oct-02 10:10
Joaquín M López Muñoz3-Oct-02 10:10 
GeneralCStringArray and its size Pin
ns3-Oct-02 9:21
ns3-Oct-02 9:21 
A problem. Heres what I did:

    totalNumFields = 10;

CStringArray  pArray;

pArray.SetSize(totalNumFields);

pArray.Add("ccc");
pArray.Add ("ppp");
pArray.Add("xxx");
pArray.Add("lll");

for (int y = 0; y < totalNumFields; y++)AfxMessageBox(pArray[y]);

int ntemp = pArray.GetSize();


GetSize returns 10 (as expected)

THe msgboxes are empty!!! I need the array to be a certain size but dont want to fill in all the elements.

Why am I not seeing my text in the messages? Is it because its adding and not filling? I'm lost. If it were adding, the size would have grown to 14, but it stays 10 (GetSize). So I'm thinking pArray[0] = "ccc", p[1]= "ppp" etc.

Appreciate your help,
ns
GeneralRe: CStringArray and its size Pin
Shog93-Oct-02 9:22
sitebuilderShog93-Oct-02 9:22 
GeneralThank you! Pin
ns3-Oct-02 9:31
ns3-Oct-02 9:31 
GeneralHiding Destop Icons Pin
Dean Michaud3-Oct-02 8:37
Dean Michaud3-Oct-02 8:37 
GeneralRe: Hiding Destop Icons Pin
Shog93-Oct-02 9:20
sitebuilderShog93-Oct-02 9:20 
Generalseeking activeX control/library fro vt100 terminal emulation Pin
michael thomas3-Oct-02 8:28
michael thomas3-Oct-02 8:28 
GeneralRe: seeking activeX control/library fro vt100 terminal emulation Pin
Anonymous3-Oct-02 9:00
Anonymous3-Oct-02 9:00 
GeneralSuppressing Next button on wizard Pin
Lilian Chan-Grant3-Oct-02 8:11
Lilian Chan-Grant3-Oct-02 8:11 
GeneralRe: Suppressing Next button on wizard Pin
Tomasz Sowinski3-Oct-02 8:19
Tomasz Sowinski3-Oct-02 8:19 
GeneralRe: Suppressing Next button on wizard Pin
Lilian Chan-Grant3-Oct-02 8:27
Lilian Chan-Grant3-Oct-02 8:27 
GeneralRe: Suppressing Next button on wizard Pin
Tomasz Sowinski3-Oct-02 8:36
Tomasz Sowinski3-Oct-02 8:36 
GeneralRe: Suppressing Next button on wizard Pin
Lilian Chan-Grant3-Oct-02 9:15
Lilian Chan-Grant3-Oct-02 9:15 
Generalscreen size Pin
Kash3-Oct-02 6:33
Kash3-Oct-02 6:33 
GeneralRe: screen size Pin
Tomasz Sowinski3-Oct-02 6:50
Tomasz Sowinski3-Oct-02 6:50 
GeneralVisible Client Area question Pin
Steve The Plant3-Oct-02 6:12
Steve The Plant3-Oct-02 6:12 
GeneralRe: Visible Client Area question Pin
Tomasz Sowinski3-Oct-02 6:26
Tomasz Sowinski3-Oct-02 6:26 
GeneralRe: Visible Client Area question Pin
JT Anderson3-Oct-02 10:53
JT Anderson3-Oct-02 10:53 
QuestionHow do I use a CSortListCtrl in ListView? Pin
Pole3-Oct-02 5:56
Pole3-Oct-02 5:56 

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.