A
--== Alain ==--
Hi,
i was thinkging to override WNDPROC of my ListView control, in order to
control how the headers and items will be redrawn.
My purpose is to :
- keep the header format (horizontal and vertical alignment)
- place a sorting arrow on the extrem right of the header (close to the
header border and not directly after the header text)
- change the backgroundcolor and forecolor of the header.
i've tried the OnDrawColumnHeader but it's not so good as it looks
like... so the next step will be to use the WM_PAINT message send to
WNPROC to redraw there my headers and how i want.
Is there another possibility ?
moreover, do you have any tutorial how to do it ?
thx,
Alain
i was thinkging to override WNDPROC of my ListView control, in order to
control how the headers and items will be redrawn.
My purpose is to :
- keep the header format (horizontal and vertical alignment)
- place a sorting arrow on the extrem right of the header (close to the
header border and not directly after the header text)
- change the backgroundcolor and forecolor of the header.
i've tried the OnDrawColumnHeader but it's not so good as it looks
like... so the next step will be to use the WM_PAINT message send to
WNPROC to redraw there my headers and how i want.
Is there another possibility ?
moreover, do you have any tutorial how to do it ?
thx,
Alain