Click here to Skip to main content
15,889,527 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: How to Call an x86 3+ Parameter Method Using __fastcall Calling Conentions Pin
Richard MacCutchan18-Oct-12 23:18
mveRichard MacCutchan18-Oct-12 23:18 
GeneralRe: How to Call an x86 3+ Parameter Method Using __fastcall Calling Conentions Pin
Skippums19-Oct-12 7:07
Skippums19-Oct-12 7:07 
GeneralRe: How to Call an x86 3+ Parameter Method Using __fastcall Calling Conentions Pin
Richard MacCutchan19-Oct-12 22:23
mveRichard MacCutchan19-Oct-12 22:23 
QuestionUsing Make - text books / references wanted Pin
Vaclav_18-Oct-12 4:47
Vaclav_18-Oct-12 4:47 
AnswerRe: Using Make - text books / references wanted Pin
Richard MacCutchan18-Oct-12 7:10
mveRichard MacCutchan18-Oct-12 7:10 
GeneralRe: Using Make - text books / references wanted Pin
Vaclav_18-Oct-12 7:31
Vaclav_18-Oct-12 7:31 
GeneralRe: Using Make - text books / references wanted Pin
Chris Meech18-Oct-12 8:03
Chris Meech18-Oct-12 8:03 
GeneralRe: Using Make - text books / references wanted Pin
Richard MacCutchan18-Oct-12 23:07
mveRichard MacCutchan18-Oct-12 23:07 
GeneralRe: Using Make - text books / references wanted Pin
Richard MacCutchan18-Oct-12 23:00
mveRichard MacCutchan18-Oct-12 23:00 
AnswerRe: Using Make - text books / references wanted Pin
jschell18-Oct-12 9:31
jschell18-Oct-12 9:31 
GeneralRe: Using Make - text books / references wanted Pin
Vaclav_19-Oct-12 5:53
Vaclav_19-Oct-12 5:53 
QuestionCPrintDialog doesn't see the printer Pin
blackbolek18-Oct-12 3:24
blackbolek18-Oct-12 3:24 
QuestionRe: CPrintDialog doesn't see the printer Pin
David Crow18-Oct-12 7:28
David Crow18-Oct-12 7:28 
AnswerRe: CPrintDialog doesn't see the printer Pin
blackbolek18-Oct-12 22:02
blackbolek18-Oct-12 22:02 
AnswerRe: CPrintDialog doesn't see the printer Pin
Brandon-X1200027-Oct-12 11:34
Brandon-X1200027-Oct-12 11:34 
GeneralRe: CPrintDialog doesn't see the printer Pin
blackbolek29-Oct-12 5:58
blackbolek29-Oct-12 5:58 
QuestionOpening a VC++ project into Adobe Flash Builder Pin
002comp18-Oct-12 3:00
002comp18-Oct-12 3:00 
AnswerRe: Opening a VC++ project into Adobe Flash Builder Pin
Richard MacCutchan18-Oct-12 3:28
mveRichard MacCutchan18-Oct-12 3:28 
QuestionRe: Opening a VC++ project into Adobe Flash Builder Pin
Chris Meech18-Oct-12 8:06
Chris Meech18-Oct-12 8:06 
AnswerRe: Opening a VC++ project into Adobe Flash Builder Pin
002comp18-Oct-12 18:05
002comp18-Oct-12 18:05 
QuestionListView_InsertColumn associated subitem Pin
NoviceEx18-Oct-12 1:32
NoviceEx18-Oct-12 1:32 
AnswerRe: ListView_InsertColumn associated subitem Pin
Richard MacCutchan18-Oct-12 2:54
mveRichard MacCutchan18-Oct-12 2:54 
GeneralRe: ListView_InsertColumn associated subitem Pin
NoviceEx18-Oct-12 3:07
NoviceEx18-Oct-12 3:07 
GeneralRe: ListView_InsertColumn associated subitem Pin
Richard MacCutchan18-Oct-12 3:26
mveRichard MacCutchan18-Oct-12 3:26 
AnswerRe: ListView_InsertColumn associated subitem Pin
Jochen Arndt18-Oct-12 3:42
professionalJochen Arndt18-Oct-12 3:42 
This is an interesting question and I have googled a little bit but did not found any satisfying answer.

I have always used the same numbers for column and subitem. I have just tried different subitem values (including -1) with a report list. But everything was working as expected, even with column re-ordering by drag & drop and an owner-drawn list.

So it seems that the subitem number passed by various functions is set to the column number and not to the subitem number.

However, this may be not always true. The LVN_GETDISPINFO notification message passes a LVITEM structure which may contain the subitem number passed when inserting the column. But I didn't checked this so far.

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.