drawing on the child control

  • Thread starter Thread starter Lloyd Dupont
  • Start date Start date
L

Lloyd Dupont

I am creating a form designer, I want to be able to draw a temporary
selction rect in the window, over all the child control.

I have a HWND of the window, I get a HDC.
I call PatBlt() to do my XOR drawing.

However the drawing only paint the empty are of the form, it doesn't alter
child control.

How could I paint over them ?
 
maybe the parent hwnd has ws_clipchildren set. if so, maybe try removing
it.
 
Back
Top