Click here to Skip to main content
15,918,808 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
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 
AnswerRe: can't add elements in the column Pin
David Crow6-Jul-06 3:21
David Crow6-Jul-06 3:21 
GeneralRe: can't add elements in the column Pin
kamalesh826-Jul-06 4:00
kamalesh826-Jul-06 4:00 
AnswerRe: can't add elements in the column [modified] Pin
bosfan6-Jul-06 4:02
bosfan6-Jul-06 4:02 
AnswerRe: can't add elements in the column [modified] Pin
bosfan6-Jul-06 4:31
bosfan6-Jul-06 4:31 
you should set the itemidentifier for the subitem, subitem must to know to witch item is to add!?

i solve your problem like this:

<br />
// one lvItem only for SubItems<br />
LVITEM lvItem;<br />
lvItem.iItem = 0; // this is important!!! can be any linenumber from your listctrl!<br />
lvItem.iSubItem = 1; // first subitem<br />
lvItem.mask = LVIF_TEXT;<br />
<br />
// example for iterating:<br />
int i = 0;<br />
while(i < 10)<br />
{<br />
// listctrl have only two columns!<br />
// Set Subitems Text to 10 Items!<br />
lvItem.iItem = i; // first item(first line in the listctrl)<br />
//lvItem.iSubItem = 1; // first subitem, stay the same, we dont need to change them here!<br />
lvItem.pszText = (LPTSTR)(LPCTSTR) NewText;<br />
listCtrl->SetItem(&lvItem);<br />
i++;<br />
}<br />
<br />


i try this and it works!
regards
break;

-- modified at 10:43 Thursday 6th July, 2006
QuestionVirtual Memory question Pin
Dennis L6-Jul-06 2:04
Dennis L6-Jul-06 2:04 
AnswerRe: Virtual Memory question Pin
_AnsHUMAN_ 6-Jul-06 2:32
_AnsHUMAN_ 6-Jul-06 2:32 
AnswerRe: Virtual Memory question Pin
David Crow6-Jul-06 2:46
David Crow6-Jul-06 2:46 
GeneralRe: Virtual Memory question Pin
Maximilien6-Jul-06 4:15
Maximilien6-Jul-06 4:15 
QuestionHow can we reverse the dialog Pin
muravi6-Jul-06 2:01
muravi6-Jul-06 2:01 
AnswerRe: How can we reverse the dialog Pin
_AnsHUMAN_ 6-Jul-06 2:07
_AnsHUMAN_ 6-Jul-06 2:07 
GeneralRe: How can we reverse the dialog [modified] Pin
muravi6-Jul-06 2:15
muravi6-Jul-06 2:15 
QuestionRe: How can we reverse the dialog Pin
David Crow6-Jul-06 2:48
David Crow6-Jul-06 2:48 
AnswerRe: How can we reverse the dialog Pin
Hamid_RT6-Jul-06 2:15
Hamid_RT6-Jul-06 2:15 
Questiondialer problem Pin
ashish dogra6-Jul-06 1:48
ashish dogra6-Jul-06 1:48 
AnswerRe: dialer problem Pin
Hamid_RT6-Jul-06 2:08
Hamid_RT6-Jul-06 2:08 
GeneralRe: dialer problem Pin
ashish dogra6-Jul-06 2:46
ashish dogra6-Jul-06 2:46 
GeneralRe: dialer problem Pin
Hamid_RT6-Jul-06 4:18
Hamid_RT6-Jul-06 4:18 
GeneralRe: dialer problem Pin
ashish dogra6-Jul-06 19:53
ashish dogra6-Jul-06 19:53 
GeneralRe: dialer problem Pin
Hamid_RT6-Jul-06 22:33
Hamid_RT6-Jul-06 22:33 
GeneralRe: dialer problem Pin
ashish dogra7-Jul-06 0:59
ashish dogra7-Jul-06 0:59 
GeneralRe: dialer problem Pin
Hamid_RT6-Jul-06 23:08
Hamid_RT6-Jul-06 23:08 

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.