Click here to Skip to main content
15,913,159 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: How to add Item to ListCtrl Pin
tina->newcoder12-Jan-08 7:31
tina->newcoder12-Jan-08 7:31 
GeneralRe: How to add Item to ListCtrl Pin
CPallini12-Jan-08 7:41
mveCPallini12-Jan-08 7:41 
GeneralRe: How to add Item to ListCtrl Pin
Jörgen Sigvardsson12-Jan-08 7:31
Jörgen Sigvardsson12-Jan-08 7:31 
GeneralRe: How to add Item to ListCtrl Pin
CPallini12-Jan-08 7:38
mveCPallini12-Jan-08 7:38 
GeneralModified code----->still not working ! Pin
tina->newcoder12-Jan-08 8:22
tina->newcoder12-Jan-08 8:22 
GeneralRe: Modified code----->still not working ! Pin
CPallini12-Jan-08 8:34
mveCPallini12-Jan-08 8:34 
GeneralRe: Modified code----->still not working ! Pin
tina->newcoder12-Jan-08 8:46
tina->newcoder12-Jan-08 8:46 
GeneralRe: Modified code----->still not working ! Pin
CPallini12-Jan-08 9:37
mveCPallini12-Jan-08 9:37 
Try to further populate the List, for instance, add
BOOL fSuccess;
INT nItem;
fSuccess = m_users.SetItemText(0,1,_T("foo1");
fSuccess = m_users.SetItemText(0,2,_T("foo2");
fSuccess = m_users.SetItemText(0,3,_T("foo3");
nItem = m_users.InsertItem( 1, _T("boo"));
fSuccess = m_users.SetItemText(1,1,_T("boo1");
fSuccess = m_users.SetItemText(1,2,_T("boo2");
fSuccess = m_users.SetItemText(1,3,_T("boo3");


Checking always, with the debugger, the return values.

My resources are near to end...
Smile | :)

If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler.
-- Alfonso the Wise, 13th Century King of Castile.

[my articles]


GeneralRe: Pin
tina->newcoder12-Jan-08 20:36
tina->newcoder12-Jan-08 20:36 
GeneralRe: Pin
CPallini12-Jan-08 22:56
mveCPallini12-Jan-08 22:56 
GeneralRe: Pin
tina->newcoder13-Jan-08 2:53
tina->newcoder13-Jan-08 2:53 
GeneralRe: Modified code----->still not working ! Pin
Hamid_RT12-Jan-08 18:30
Hamid_RT12-Jan-08 18:30 
GeneralRe: Pin
tina->newcoder12-Jan-08 20:38
tina->newcoder12-Jan-08 20:38 
GeneralRe: Pin
Hamid_RT13-Jan-08 0:31
Hamid_RT13-Jan-08 0:31 
GeneralRe: Pin
tina->newcoder12-Jan-08 20:39
tina->newcoder12-Jan-08 20:39 
GeneralRe: Pin
CPallini12-Jan-08 22:55
mveCPallini12-Jan-08 22:55 
GeneralRe: How to add Item to ListCtrl Pin
tina->newcoder14-Jan-08 5:59
tina->newcoder14-Jan-08 5:59 
QuestionEdit accelerator in VC6's resource editor and rebuild all, nothing changes Pin
followait11-Jan-08 22:03
followait11-Jan-08 22:03 
GeneralRe: Edit accelerator in VC6's resource editor and rebuild all, nothing changes Pin
Maxwell Chen12-Jan-08 9:01
Maxwell Chen12-Jan-08 9:01 
GeneralRe: Edit accelerator in VC6's resource editor and rebuild all, nothing changes Pin
followait12-Jan-08 15:42
followait12-Jan-08 15:42 
GeneralRe: Edit accelerator in VC6's resource editor and rebuild all, nothing changes Pin
Maxwell Chen12-Jan-08 18:09
Maxwell Chen12-Jan-08 18:09 
GeneralRe: Edit accelerator in VC6's resource editor and rebuild all, nothing changes Pin
followait12-Jan-08 20:36
followait12-Jan-08 20:36 
GeneralRe: Edit accelerator in VC6's resource editor and rebuild all, nothing changes Pin
followait13-Jan-08 15:03
followait13-Jan-08 15:03 
Generalrare flick problem [Updated] Pin
followait11-Jan-08 20:30
followait11-Jan-08 20:30 
GeneralCStatic::OnPaint() problem Pin
hanlei000000000911-Jan-08 20:24
hanlei000000000911-Jan-08 20:24 

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.