Click here to Skip to main content
16,011,702 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Disable CButton while function executes? Pin
James R. Twine10-Jan-02 7:26
James R. Twine10-Jan-02 7:26 
GeneralRe: Handle MM_MCINOTIFY notify message Pin
11-Jan-02 7:30
suss11-Jan-02 7:30 
GeneralRe: Handle MM_MCINOTIFY notify message Pin
James R. Twine11-Jan-02 19:00
James R. Twine11-Jan-02 19:00 
GeneralFinding and the keep go'n! Pin
Rickard Andersson209-Jan-02 10:38
Rickard Andersson209-Jan-02 10:38 
GeneralRe: Finding and the keep go'n! Pin
Christian Graus9-Jan-02 10:50
protectorChristian Graus9-Jan-02 10:50 
GeneralRe: Finding and the keep go'n! Pin
Alvaro Mendez9-Jan-02 12:42
Alvaro Mendez9-Jan-02 12:42 
GeneralRe: Finding and the keep go'n! Pin
Christian Graus9-Jan-02 13:21
protectorChristian Graus9-Jan-02 13:21 
GeneralRe: Finding and the keep go'n! Pin
Alvaro Mendez9-Jan-02 16:11
Alvaro Mendez9-Jan-02 16:11 
As that old Bud Dry commercial goes, "Why ask why?" Smile | :)

I answered the guy's question and gave him a solution. It's not your solution, but then again, I didn't say it was better than yours. It's just an alternative. Does it work? Yes! Then why ask why?

Well, for one, strtok has the "not-thread-safe" stigma. Another thing, strtok doesn't do *exactly* the same thing. You have to call it twice inside a loop, and with different parameters. I personally find it a somewhat confusing function to use. It's just not as straight-forward as the code I wrote.

Now as for the CStringArray class... woah, a class that encapsulates an array of CString objects. Gee, that sounds like the most *useless* class possible for storing CString objects inside an array! I really really ought to consider alternatives, like the STL classes. Those are really intuitive and well documented, right? That's what I thought.

Regards,
Alvaro
GeneralRe: Finding and the keep go'n! Pin
Christian Graus9-Jan-02 16:52
protectorChristian Graus9-Jan-02 16:52 
GeneralRe: Finding and the keep go'n! Pin
Alvaro Mendez9-Jan-02 17:22
Alvaro Mendez9-Jan-02 17:22 
GeneralC++ Win32 API: Pictures on buttons... Pin
ParaSwarm9-Jan-02 10:33
ParaSwarm9-Jan-02 10:33 
GeneralRe: C++ Win32 API: Pictures on buttons... Pin
Christian Graus9-Jan-02 10:36
protectorChristian Graus9-Jan-02 10:36 
QuestionPrintInsideRect for CScrollView? Pin
Joe Dean9-Jan-02 9:16
Joe Dean9-Jan-02 9:16 
AnswerRe: PrintInsideRect for CScrollView? Pin
Ernest Laurentin9-Jan-02 10:19
Ernest Laurentin9-Jan-02 10:19 
QuestionIs Visual C++ running? Pin
Gavin Greig9-Jan-02 9:00
Gavin Greig9-Jan-02 9:00 
AnswerRe: Is Visual C++ running? Pin
Carlos Antollini9-Jan-02 9:47
Carlos Antollini9-Jan-02 9:47 
AnswerRe: Is Visual C++ running? Pin
Carlos Antollini9-Jan-02 9:50
Carlos Antollini9-Jan-02 9:50 
AnswerRe: Is Visual C++ running? Pin
Mustafa Demirhan9-Jan-02 12:17
Mustafa Demirhan9-Jan-02 12:17 
AnswerRe: Is Visual C++ running? Pin
Gavin Greig9-Jan-02 21:45
Gavin Greig9-Jan-02 21:45 
GeneralWinsock peer to peer file transfer Pin
Kuniva9-Jan-02 8:27
Kuniva9-Jan-02 8:27 
GeneralProcess's CPU usage Pin
BlackSmith9-Jan-02 7:37
BlackSmith9-Jan-02 7:37 
GeneralRe: Process's CPU usage Pin
Joaquín M López Muñoz9-Jan-02 8:26
Joaquín M López Muñoz9-Jan-02 8:26 
GeneralRe: Process's CPU usage Pin
BlackSmith9-Jan-02 8:43
BlackSmith9-Jan-02 8:43 
GeneralRe: Process's CPU usage Pin
Joaquín M López Muñoz9-Jan-02 13:17
Joaquín M López Muñoz9-Jan-02 13:17 
GeneralRe: Process's CPU usage Pin
Mustafa Demirhan9-Jan-02 12:14
Mustafa Demirhan9-Jan-02 12:14 

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.