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

C / C++ / MFC

 
GeneralRe: How to add Item to ListCtrl Pin
CPallini12-Jan-08 5:59
mveCPallini12-Jan-08 5:59 
JokeRe: How to add Item to ListCtrl Pin
Hamid_RT12-Jan-08 6:42
Hamid_RT12-Jan-08 6:42 
JokeRe: How to add Item to ListCtrl Pin
CPallini12-Jan-08 7:17
mveCPallini12-Jan-08 7:17 
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 
<br />
m_users.InsertColumn(0,"a",LVCFMT_CENTER,150,0);<br />
m_users.InsertColumn(1,"b",LVCFMT_CENTER,50,0);<br />
m_users.InsertColumn(2,"c",LVCFMT_CENTER,150,0);<br />
m_users.InsertColumn(3,"d",LVCFMT_CENTER,150,0);<br />
<br />
LVITEM lvi;<br />
lvi.mask=LVIF_TEXT | LVIF_NORECOMPUTE ;<br />
lvi.iItem = 1;<br />
lvi.iSubItem = 0;<br />
lvi.pszText = _T("Hi");<br />
m_users.InsertItem(&lvi);<br />


on compilation & execution, still nothing on List !
Let me give you some more details, I might have done something wrong there...
I have used VC++ Wizard to create my project (i m new to vc++)
Then I added List control to a Dialog box
Then changed its properties to ->Report
Then created a m_users variable
Then I have inserted 4 columns to it
Everything works fine till here...
Now I try to add some data to it, & nothing happens on the list !
plz friends, guide me in this....
GeneralRe: Modified code-----&gt;still not working ! Pin
CPallini12-Jan-08 8:34
mveCPallini12-Jan-08 8:34 
GeneralRe: Modified code-----&gt;still not working ! Pin
tina->newcoder12-Jan-08 8:46
tina->newcoder12-Jan-08 8:46 
GeneralRe: Modified code-----&gt;still not working ! Pin
CPallini12-Jan-08 9:37
mveCPallini12-Jan-08 9:37 
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-----&gt;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 

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.