Click here to Skip to main content
15,900,906 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Adding member variables crashes app Pin
Zac Howland31-Jul-06 10:13
Zac Howland31-Jul-06 10:13 
GeneralRe: Adding member variables crashes app Pin
Wheatbread31-Jul-06 10:37
Wheatbread31-Jul-06 10:37 
GeneralRe: Adding member variables crashes app [modified] Pin
Zac Howland31-Jul-06 10:47
Zac Howland31-Jul-06 10:47 
GeneralRe: Adding member variables crashes app Pin
Wheatbread31-Jul-06 11:06
Wheatbread31-Jul-06 11:06 
GeneralRe: Adding member variables crashes app Pin
Zac Howland31-Jul-06 11:14
Zac Howland31-Jul-06 11:14 
GeneralRe: Adding member variables crashes app Pin
Wheatbread1-Aug-06 12:28
Wheatbread1-Aug-06 12:28 
GeneralRe: Adding member variables crashes app Pin
Zac Howland1-Aug-06 17:07
Zac Howland1-Aug-06 17:07 
Questionsubitem in CListCtrl Pin
Tara1431-Jul-06 9:46
Tara1431-Jul-06 9:46 
Hi,

I am having a trouble with my CListCtrl
I need to get the subitem number.

void CDlg::OnItemchangedList(NMHDR* pNMHDR, LRESULT* pResult)
{
NM_LISTVIEW *pNMListView = (NM_LISTVIEW*)pNMHDR;
int nItem = pNMListView->iItem;
int nSubItem = pNMListView->iSubItem;
*pResult = 0;
}


The above is returning the nItem number properly. But it is always giving zero for nSubItem.

Why is this happening?

Thanks.
Tara



Fortitudine Vincimus!

AnswerRe: subitem in CListCtrl Pin
Hans Dietrich31-Jul-06 10:07
mentorHans Dietrich31-Jul-06 10:07 
GeneralRe: subitem in CListCtrl Pin
Tara1431-Jul-06 18:37
Tara1431-Jul-06 18:37 
QuestionRe: subitem in CListCtrl Pin
David Crow31-Jul-06 10:20
David Crow31-Jul-06 10:20 
AnswerRe: subitem in CListCtrl Pin
Tara1431-Jul-06 18:53
Tara1431-Jul-06 18:53 
AnswerRe: subitem in CListCtrl Pin
Michael Dunn31-Jul-06 17:57
sitebuilderMichael Dunn31-Jul-06 17:57 
GeneralRe: subitem in CListCtrl [modified] Pin
Tara1431-Jul-06 19:39
Tara1431-Jul-06 19:39 
AnswerRe: subitem in CListCtrl Pin
Hamid_RT31-Jul-06 18:52
Hamid_RT31-Jul-06 18:52 
GeneralRe: subitem in CListCtrl Pin
Tara1431-Jul-06 18:58
Tara1431-Jul-06 18:58 
GeneralRe: subitem in CListCtrl Pin
Tara1431-Jul-06 21:53
Tara1431-Jul-06 21:53 
Questiondebugging VS6.0 C (not ++)... how to view entire array contents? Pin
Jesse Evans31-Jul-06 9:35
Jesse Evans31-Jul-06 9:35 
AnswerRe: debugging VS6.0 C (not ++)... how to view entire array contents? Pin
David Crow31-Jul-06 9:47
David Crow31-Jul-06 9:47 
GeneralRe: debugging VS6.0 C (not ++)... how to view entire array contents? Pin
Jesse Evans31-Jul-06 11:15
Jesse Evans31-Jul-06 11:15 
AnswerRe: debugging VS6.0 C (not ++)... how to view entire array contents? Pin
valikac31-Jul-06 9:47
valikac31-Jul-06 9:47 
AnswerRe: debugging VS6.0 C (not ++)... how to view entire array contents? Pin
krmed31-Jul-06 10:22
krmed31-Jul-06 10:22 
GeneralRe: debugging VS6.0 C (not ++)... how to view entire array contents? Pin
Jesse Evans31-Jul-06 11:16
Jesse Evans31-Jul-06 11:16 
GeneralRe: debugging VS6.0 C (not ++)... how to view entire array contents? Pin
Jesse Evans31-Jul-06 11:18
Jesse Evans31-Jul-06 11:18 
AnswerRe: debugging VS6.0 C (not ++)... how to view entire array contents? Pin
Zac Howland31-Jul-06 10:37
Zac Howland31-Jul-06 10:37 

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.