J
Jim Margarit
I have create a Panel subclass that I can resize at runtime. I want to
draw resizing handles that accurately track the panel frame.
So far I have tried drawing them in the wm_sizing handler, the wm_paint
handler and the overriden OnPaint event and cannot get an accurate
rectangle to use to paint the handles. The handles sort of follow the
border but not exactly. It seems that it might work to do it at the same
time the border is drawn with the WM_NCPAINT but I don't know how to get
the frame rectangle from the hrgn. Anyone able to point me in the right
direction?
Jim Margarit
draw resizing handles that accurately track the panel frame.
So far I have tried drawing them in the wm_sizing handler, the wm_paint
handler and the overriden OnPaint event and cannot get an accurate
rectangle to use to paint the handles. The handles sort of follow the
border but not exactly. It seems that it might work to do it at the same
time the border is drawn with the WM_NCPAINT but I don't know how to get
the frame rectangle from the hrgn. Anyone able to point me in the right
direction?
Jim Margarit