I would like to know how to code an owner drawn slider in a dialog box
? I know how to do it for a mere button (set the "owner draw" property
from the property page, then answer to the WM_DRAWITEM message in the
dialog box procedure).
Unfortunately, this seems not to be working for a trackbar control. How
to draw it ? How to manage the mobile part of the control ?
Any help would be welcome :)
> I would like to know how to code an owner drawn slider in a dialog box
> ? I know how to do it for a mere button (set the "owner draw" property
> from the property page, then answer to the WM_DRAWITEM message in the
> dialog box procedure).
Use Custom Draw
You mean, to catch WM_PAINT messages ?
I thought of this solution, but how do I manage the position of the
slider ? Is there an equivalent of a DRAWITEMSTRUCT that could give me
this information ?
> Christian ASTOR a écrit :
> >
> > Use Custom Draw
>
>
> You mean, to catch WM_PAINT messages ?
No, NM_CUSTOMDRAW.
e.g., old thread : http://tinyurl.com/y7qcou
Christian ASTOR a écrit :
"Eric" <eric....@gmail.com> wrote in message
news:1166550551.7...@i12g2000cwa.googlegroups.com...