Click here to Skip to main content
15,893,790 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: CListCtrl adds blank items Pin
Michael Dunn6-Oct-02 6:06
sitebuilderMichael Dunn6-Oct-02 6:06 
GeneralRe: CListCtrl adds blank items Pin
monrobot136-Oct-02 9:51
monrobot136-Oct-02 9:51 
GeneralHelp! Pin
Sunnygirl5-Oct-02 10:19
Sunnygirl5-Oct-02 10:19 
GeneralRe: Help! Pin
User 66585-Oct-02 10:51
User 66585-Oct-02 10:51 
GeneralRe: Help! Pin
Sunnygirl5-Oct-02 11:57
Sunnygirl5-Oct-02 11:57 
GeneralRe: Help! Pin
RobJones5-Oct-02 12:53
RobJones5-Oct-02 12:53 
GeneralRe: Help! Pin
Sunnygirl5-Oct-02 13:41
Sunnygirl5-Oct-02 13:41 
GeneralRe: Help! Pin
alex.barylski5-Oct-02 17:22
alex.barylski5-Oct-02 17:22 
That would depend on what constitutes a column and a row, however the following would probably work.

each column is seperated by a space character ASCII (32) and each row is seperated by a carriage return (13) line feed (10).

Iterate your buffer and look for these characters and add a counter to track them, whola!!! You've calculated number of columns and rows...

p.s-This kinda sounds like a school project. Poke tongue | ;-P

"No more answer for U" - Word Nazi Smile | :)

Cheers

"An expert is someone who has made all the mistakes in his or her field" - Niels Bohr
GeneralRe: Help! Pin
Sunnygirl5-Oct-02 22:40
Sunnygirl5-Oct-02 22:40 
GeneralRe: Help! Pin
alex.barylski5-Oct-02 23:59
alex.barylski5-Oct-02 23:59 
GeneralShell programing Pin
Member 135142965-Oct-02 9:19
Member 135142965-Oct-02 9:19 
GeneralRe: Shell programing Pin
Michael Dunn5-Oct-02 9:45
sitebuilderMichael Dunn5-Oct-02 9:45 
QuestionNo empty CControlBar??? Pin
Daniel Strigl5-Oct-02 8:40
Daniel Strigl5-Oct-02 8:40 
GeneralRecommended Advanced C++ Books :: C++ Pin
valikac5-Oct-02 5:22
valikac5-Oct-02 5:22 
GeneralRe: Recommended Advanced C++ Books :: C++ Pin
Paul M Watt5-Oct-02 6:21
mentorPaul M Watt5-Oct-02 6:21 
GeneralRe: Recommended Advanced C++ Books :: C++ Pin
valikac5-Oct-02 6:32
valikac5-Oct-02 6:32 
GeneralRe: Recommended Advanced C++ Books :: C++ Pin
Mike Nordell5-Oct-02 7:58
Mike Nordell5-Oct-02 7:58 
GeneralRe: Recommended Advanced C++ Books :: C++ Pin
Pavel Klocek5-Oct-02 8:01
Pavel Klocek5-Oct-02 8:01 
GeneralRe: Recommended Advanced C++ Books :: C++ Pin
valikac5-Oct-02 13:25
valikac5-Oct-02 13:25 
QuestionHow to select a item in a listbox? Pin
chen5-Oct-02 4:46
chen5-Oct-02 4:46 
AnswerRe: How to select a item in a listbox? Pin
valikac5-Oct-02 5:33
valikac5-Oct-02 5:33 
GeneralRe: How to select a item in a listbox? Pin
chen5-Oct-02 6:03
chen5-Oct-02 6:03 
GeneralRe: How to select a item in a listbox? Pin
valikac5-Oct-02 6:14
valikac5-Oct-02 6:14 
GeneralRe: How to select a item in a listbox? Pin
chen5-Oct-02 6:28
chen5-Oct-02 6:28 
GeneralRe: How to select a item in a listbox? Pin
valikac5-Oct-02 6:31
valikac5-Oct-02 6:31 

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.