Click here to Skip to main content
15,903,203 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Remote debugging setup for VS 2003 on XP Pin
jmkhael4-Apr-06 20:29
jmkhael4-Apr-06 20:29 
QuestionPopup caption like Windows Media Player Pin
David Simmonds4-Apr-06 11:32
David Simmonds4-Apr-06 11:32 
AnswerRe: Popup caption like Windows Media Player Pin
Hamid_RT4-Apr-06 19:18
Hamid_RT4-Apr-06 19:18 
GeneralRe: Popup caption like Windows Media Player Pin
David Simmonds5-Apr-06 4:05
David Simmonds5-Apr-06 4:05 
Questionhow to select items in a list control. Pin
Ajax954-Apr-06 9:39
Ajax954-Apr-06 9:39 
QuestionRe: how to select items in a list control. Pin
David Crow4-Apr-06 10:09
David Crow4-Apr-06 10:09 
AnswerRe: how to select items in a list control. Pin
Michael Dunn4-Apr-06 11:27
sitebuilderMichael Dunn4-Apr-06 11:27 
AnswerRe: how to select items in a list control. Pin
Laxman Auti4-Apr-06 18:14
Laxman Auti4-Apr-06 18:14 
The following code sample demonstrates the selected items in the list control.
CListCtrl* pListCtrl = (CListCtrl*) GetDlgItem(IDC_YOURLISTCONTROL);
ASSERT(pListCtrl != NULL);

POSITION pos = pList->GetFirstSelectedItemPosition();
if (pos == NULL)
   TRACE0("No items were selected!\n");
else
{
   while (pos)
   {
      int nItem = pList->GetNextSelectedItem(pos);
      TRACE1("Item %d was selected!\n", nItem);
      // you could do your own processing on nItem here
   }
}


Knock out "T" from CAN'T
You 'CAN' if you think you 'CAN'
Cool | :cool:
AnswerRe: how to select items in a list control. Pin
Ajax957-Apr-06 13:50
Ajax957-Apr-06 13:50 
QuestionHelp with list box Pin
antdaviesuk4-Apr-06 9:11
antdaviesuk4-Apr-06 9:11 
AnswerRe: Help with list box Pin
David Crow4-Apr-06 9:25
David Crow4-Apr-06 9:25 
AnswerRe: Help with list box Pin
Laxman Auti4-Apr-06 18:19
Laxman Auti4-Apr-06 18:19 
QuestionCreating LIB file from DLL Pin
Alexander M.,4-Apr-06 8:57
Alexander M.,4-Apr-06 8:57 
AnswerRe: Creating LIB file from DLL Pin
David Crow4-Apr-06 10:12
David Crow4-Apr-06 10:12 
GeneralRe: Creating LIB file from DLL Pin
Alexander M.,4-Apr-06 10:20
Alexander M.,4-Apr-06 10:20 
QuestionRe: Creating LIB file from DLL Pin
David Crow4-Apr-06 10:31
David Crow4-Apr-06 10:31 
AnswerRe: Creating LIB file from DLL Pin
Alexander M.,4-Apr-06 10:37
Alexander M.,4-Apr-06 10:37 
GeneralRe: Creating LIB file from DLL Pin
David Crow4-Apr-06 10:53
David Crow4-Apr-06 10:53 
GeneralRe: Creating LIB file from DLL Pin
Alexander M.,4-Apr-06 11:52
Alexander M.,4-Apr-06 11:52 
QuestionTimer in MFC Pin
LCI4-Apr-06 8:43
LCI4-Apr-06 8:43 
AnswerRe: Timer in MFC Pin
Burtraskkutaren4-Apr-06 8:49
Burtraskkutaren4-Apr-06 8:49 
GeneralRe: Timer in MFC Pin
LCI4-Apr-06 9:04
LCI4-Apr-06 9:04 
GeneralRe: Timer in MFC Pin
Burtraskkutaren4-Apr-06 9:33
Burtraskkutaren4-Apr-06 9:33 
AnswerRe: Timer in MFC Pin
David Crow4-Apr-06 8:53
David Crow4-Apr-06 8:53 
AnswerRe: Timer in MFC Pin
Laxman Auti4-Apr-06 18:23
Laxman Auti4-Apr-06 18:23 

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.