Click here to Skip to main content
15,887,596 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: multithreading in vc Pin
ooola rocks11-Jul-06 1:16
ooola rocks11-Jul-06 1:16 
GeneralRe: multithreading in vc Pin
Hamid_RT11-Jul-06 1:41
Hamid_RT11-Jul-06 1:41 
AnswerRe: multithreading in vc Pin
ThatsAlok11-Jul-06 19:00
ThatsAlok11-Jul-06 19:00 
Questionhow can i get the current selected item from listcontrol. Pin
Amit Agarrwal11-Jul-06 0:47
Amit Agarrwal11-Jul-06 0:47 
AnswerRe: how can i get the current selected item from listcontrol. Pin
Parthi_Appu11-Jul-06 0:55
Parthi_Appu11-Jul-06 0:55 
GeneralRe: how can i get the current selected item from listcontrol. Pin
Amit Agarrwal11-Jul-06 1:03
Amit Agarrwal11-Jul-06 1:03 
GeneralRe: how can i get the current selected item from listcontrol. Pin
Parthi_Appu11-Jul-06 1:06
Parthi_Appu11-Jul-06 1:06 
GeneralRe: how can i get the current selected item from listcontrol. Pin
Amit Agarrwal11-Jul-06 1:22
Amit Agarrwal11-Jul-06 1:22 
hi
thanx
i hav tried like this

Position pos = m_listctrl.GetFirstSelectedItemPosition();
      str = m_listctrl.GetItemText(pos,1);

then it gives me error

error C2664: 'CString CListCtrl::GetItemText(int,int) const' : cannot convert parameter 1 from 'POSITION' to 'int'

how to get the current index in int format.
thanx
GeneralRe: how can i get the current selected item from listcontrol. Pin
Parthi_Appu11-Jul-06 1:27
Parthi_Appu11-Jul-06 1:27 
GeneralRe: how can i get the current selected item from listcontrol. Pin
Parthi_Appu11-Jul-06 1:30
Parthi_Appu11-Jul-06 1:30 
GeneralRe: how can i get the current selected item from listcontrol. Pin
Amit Agarrwal11-Jul-06 1:37
Amit Agarrwal11-Jul-06 1:37 
GeneralRe: how can i get the current selected item from listcontrol. Pin
David Crow11-Jul-06 2:46
David Crow11-Jul-06 2:46 
GeneralRe: how can i get the current selected item from listcontrol. Pin
Amit Agarrwal11-Jul-06 1:51
Amit Agarrwal11-Jul-06 1:51 
AnswerRe: how can i get the current selected item from listcontrol. Pin
FarPointer11-Jul-06 0:57
FarPointer11-Jul-06 0:57 
GeneralRe: how can i get the current selected item from listcontrol. Pin
Amit Agarrwal11-Jul-06 2:27
Amit Agarrwal11-Jul-06 2:27 
GeneralRe: how can i get the current selected item from listcontrol. Pin
FarPointer11-Jul-06 2:56
FarPointer11-Jul-06 2:56 
AnswerRe: how can i get the current selected item from listcontrol. Pin
David Crow11-Jul-06 2:44
David Crow11-Jul-06 2:44 
GeneralRe: how can i get the current selected item from listcontrol. Pin
Amit Agarrwal11-Jul-06 3:10
Amit Agarrwal11-Jul-06 3:10 
GeneralRe: how can i get the current selected item from listcontrol. Pin
David Crow11-Jul-06 3:16
David Crow11-Jul-06 3:16 
GeneralRe: how can i get the current selected item from listcontrol. Pin
FarPointer13-Jul-06 9:17
FarPointer13-Jul-06 9:17 
Questioncheck box in Tree control [modified] Pin
comp_wizard11-Jul-06 0:30
comp_wizard11-Jul-06 0:30 
Questionset wallpaper Pin
ashish dogra10-Jul-06 23:42
ashish dogra10-Jul-06 23:42 
AnswerRe: set wallpaper Pin
Hamid_RT10-Jul-06 23:58
Hamid_RT10-Jul-06 23:58 
GeneralRe: set wallpaper Pin
ashish dogra11-Jul-06 0:01
ashish dogra11-Jul-06 0:01 
GeneralRe: set wallpaper <pre><font color=teal>modified</font></pre> Pin
Hamid_RT11-Jul-06 0:32
Hamid_RT11-Jul-06 0:32 

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.