Click here to Skip to main content
15,903,856 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralList Box Pin
Jay Hova30-Jun-03 2:57
Jay Hova30-Jun-03 2:57 
GeneralRe: List Box Pin
Michael P Butler30-Jun-03 3:07
Michael P Butler30-Jun-03 3:07 
QuestionIs GetItemText limited to 256 bytes for CString ? Pin
Wormhole523030-Jun-03 2:51
Wormhole523030-Jun-03 2:51 
AnswerRe: Is GetItemText limited to 256 bytes for CSting ? Pin
Trollslayer30-Jun-03 3:40
mentorTrollslayer30-Jun-03 3:40 
GeneralRe: Is GetItemText limited to 256 bytes for CSting ? Pin
Wormhole523030-Jun-03 4:16
Wormhole523030-Jun-03 4:16 
GeneralRe: Is GetItemText limited to 256 bytes for CSting ? Pin
Trollslayer30-Jun-03 5:41
mentorTrollslayer30-Jun-03 5:41 
AnswerRe: Is GetItemText limited to 256 bytes for CSting ? Pin
David Crow30-Jun-03 6:04
David Crow30-Jun-03 6:04 
GeneralRe: Is GetItemText limited to 256 bytes for CSting ? Pin
Wormhole523030-Jun-03 6:19
Wormhole523030-Jun-03 6:19 
I just used GetLength() to check the length of the returned CString object.
The return value is 256.
The length of the text in the CListCtrl is surely over 256 bytes.
The second function can extract whole text when the last parameter nLen
is large enought to hold whole text.

Thanks.
GeneralRe: Is GetItemText limited to 256 bytes for CSting ? Pin
David Crow30-Jun-03 6:29
David Crow30-Jun-03 6:29 
GeneralRe: Is GetItemText limited to 256 bytes for CSting ? Pin
Wormhole523030-Jun-03 6:55
Wormhole523030-Jun-03 6:55 
GeneralRe: Is GetItemText limited to 256 bytes for CSting ? Pin
David Crow30-Jun-03 7:22
David Crow30-Jun-03 7:22 
GeneralRe: You are right and I am right too. Pin
Wormhole523030-Jun-03 7:40
Wormhole523030-Jun-03 7:40 
GeneralRe: You are right and I am right too. Pin
David Crow30-Jun-03 7:45
David Crow30-Jun-03 7:45 
GeneralRe: You are right and I am right too. Pin
Wormhole523030-Jun-03 8:03
Wormhole523030-Jun-03 8:03 
QuestionCan I use the DECLARE_DYNAMIC macro for a CList derived class? Pin
Charles Liu30-Jun-03 2:46
Charles Liu30-Jun-03 2:46 
AnswerRe: Can I use the DECLARE_DYNAMIC macro for a CList derived class? Pin
Ryan Binns30-Jun-03 3:24
Ryan Binns30-Jun-03 3:24 
Generalread data from digital camera Pin
includeh1030-Jun-03 2:39
includeh1030-Jun-03 2:39 
GeneralRe: read data from digital camera Pin
basementman30-Jun-03 4:39
basementman30-Jun-03 4:39 
GeneralSerial Comms TimeOut Formula Pin
louis30-Jun-03 2:27
louis30-Jun-03 2:27 
GeneralRe: Serial Comms TimeOut Formula Pin
louis30-Jun-03 3:26
louis30-Jun-03 3:26 
GeneralMFC Edit Ctrl Pin
frackasse30-Jun-03 2:24
frackasse30-Jun-03 2:24 
GeneralRe: MFC Edit Ctrl Pin
David Crow30-Jun-03 2:40
David Crow30-Jun-03 2:40 
GeneralRe: MFC Edit Ctrl Pin
frackasse30-Jun-03 3:04
frackasse30-Jun-03 3:04 
GeneralRe: MFC Edit Ctrl Pin
David Crow30-Jun-03 3:22
David Crow30-Jun-03 3:22 
General,Serial Comms TimeOut Formula Pin
louis30-Jun-03 2:23
louis30-Jun-03 2:23 

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.