Click here to Skip to main content
15,900,511 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Modifying string.h Pin
Zac Howland6-Jul-06 3:58
Zac Howland6-Jul-06 3:58 
GeneralRe: Modifying string.h Pin
David Crow6-Jul-06 4:34
David Crow6-Jul-06 4:34 
AnswerRe: Modifying string.h Pin
ThatsAlok6-Jul-06 18:57
ThatsAlok6-Jul-06 18:57 
QuestionTCP question Pin
BambooMoon6-Jul-06 3:18
BambooMoon6-Jul-06 3:18 
AnswerRe: TCP question Pin
led mike6-Jul-06 5:17
led mike6-Jul-06 5:17 
GeneralRe: TCP question Pin
BambooMoon6-Jul-06 6:42
BambooMoon6-Jul-06 6:42 
QuestionProblem with Smartgraph Pin
Semion_N6-Jul-06 3:00
Semion_N6-Jul-06 3:00 
AnswerRe: Problem with Smartgraph [modified] Pin
Justin Tay6-Jul-06 3:36
Justin Tay6-Jul-06 3:36 
GeneralRe: Problem with Smartgraph Pin
Semion_N6-Jul-06 4:13
Semion_N6-Jul-06 4:13 
AnswerRe: Problem with Smartgraph Pin
Semion_N6-Jul-06 4:43
Semion_N6-Jul-06 4:43 
GeneralRe: Problem with Smartgraph Pin
Justin Tay6-Jul-06 5:05
Justin Tay6-Jul-06 5:05 
AnswerI dont really understand Pin
Semion_N6-Jul-06 7:35
Semion_N6-Jul-06 7:35 
GeneralRe: I dont really understand Pin
Semion_N6-Jul-06 7:57
Semion_N6-Jul-06 7:57 
GeneralRe: I dont really understand Pin
Justin Tay6-Jul-06 8:20
Justin Tay6-Jul-06 8:20 
GeneralRe: I dont really understand Pin
Semion_N6-Jul-06 19:42
Semion_N6-Jul-06 19:42 
GeneralRe: I dont really understand Pin
Justin Tay6-Jul-06 19:55
Justin Tay6-Jul-06 19:55 
Question"HTML Builder" library for C++ Pin
peterchen6-Jul-06 2:56
peterchen6-Jul-06 2:56 
AnswerRe: "HTML Builder" library for C++ Pin
Wes Aday6-Jul-06 4:25
professionalWes Aday6-Jul-06 4:25 
AnswerRe: "HTML Builder" library for C++ Pin
led mike6-Jul-06 5:34
led mike6-Jul-06 5:34 
GeneralRe: "HTML Builder" library for C++ [modified] Pin
peterchen6-Jul-06 10:49
peterchen6-Jul-06 10:49 
GeneralRe: "HTML Builder" library for C++ Pin
led mike6-Jul-06 11:05
led mike6-Jul-06 11:05 
GeneralRe: "HTML Builder" library for C++ Pin
peterchen6-Jul-06 12:03
peterchen6-Jul-06 12:03 
GeneralRe: "HTML Builder" library for C++ Pin
led mike7-Jul-06 4:55
led mike7-Jul-06 4:55 
Questioncan't add elements in the column Pin
kamalesh826-Jul-06 2:52
kamalesh826-Jul-06 2:52 
Hi i've strange problem.i've 4 columns Account,date,amount,address in a Clist Control.
//a breif abt my project

in my project am trying to slect a file by browsing (i used cfiledialog). & then pressing the button 'showbutton' i want to see all the documents(i.e.account,date,amount,address) of that file.this file is actually a list of several transaction.........

now in this project i didn't use classwizard, all the message mapping,dialog creation i've done mannually...............


//the problem

now, the problem is, while am trynig to insert items in the r8 column, only the 1st column is being populated , not the others....in the insertion column

CString strItem;
LVITEM lvi;
lvi.mask = LVIF_TEXT;



//Account no...
strItem.Format(_T(&TP->TR.Account[1]));
lvi.iSubItem = 0;
lvi.pszText = (LPTSTR)(LPCTSTR)(strItem);
m_cListCtrl.InsertItem( &lvi);

//Expirary Date
strItem.Format(_T(&TP->TR.ExpDate[1]));
lvi.iSubItem = 1;
lvi.pszText = (LPTSTR)(LPCTSTR)( strItem);
m_cListCtrl.InsertItem( &lvi);


nd this way only putting "lvi.iSubItem=2,3...4"

Don't get confused with TP,TR...these r my project variables for other issues.


using that above code.. am getting only 1st column....

waiting for quick reply.....A GOOD DAY to all.

kamalesh
AnswerRe: can't add elements in the column Pin
David Crow6-Jul-06 3:21
David Crow6-Jul-06 3:21 

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.