Dmitry Timoshkov wrote:
> I really can't type today.
>
I'm glad I'm not the only one. :))
-- A.
Dmitry Timoshkov wrote:
>
> Sorry for the ambiguous answer, I missed "not" in "am I not", and it
> slightly confused me, leading to an inversed logic in thinking.
>
I should have made the question less verbose. :)
I think we are agreeing that
LVCOLUMN * const pcol;
is the correct equival
I really can't type today.
"Dmitry Timoshkov" <[EMAIL PROTECTED]> wrote:
LVCOLUMN * const pcol;
This one is an equivalent of 'LPLVCOLUMN pcol';
s/'LPLVCOLUMN pcol'/'const LPLVCOLUMN pcol'
--
Dmitry.
"Dmitry Timoshkov" <[EMAIL PROTECTED]> wrote:
"Andrew Talbot" <[EMAIL PROTECTED]> wrote:
Given (for a type T) that const T * and T const * are equivalent, and
given the right-to-left nature of pointer declarations, am I not right in
thinking that const LPLVCOLUMN pcol is really equivalent to:
"Andrew Talbot" <[EMAIL PROTECTED]> wrote:
Given (for a type T) that const T * and T const * are equivalent, and
given the right-to-left nature of pointer declarations, am I not right in
thinking that const LPLVCOLUMN pcol is really equivalent to:
LVCOLUMN * const pcol;
not
const LVCOLU
[I meant to say that pointer declarations are read right-to-left, not
left-to-right. So the corrected question is:]
Can you verify something for me, please?
The SDK declares ListView_InsertColumn() as:
int ListView_InsertColumn(
HWND hwnd,
int iCol,
const LPLVCOLUMN pcol
);
In commc
Can you verify something for me, please?
The SDK declares ListView_InsertColumn() as:
int ListView_InsertColumn(
HWND hwnd,
int iCol,
const LPLVCOLUMN pcol
);
In commctrl.h, we have:
#define ListView_InsertColumnA(hwnd,iCol,pcol) \
(INT)SNDMSGA((hwnd),LVM_INSERTCOLUMNA,(WPARAM)(