drawing on the child control

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 ?
 
L

Louis Solomon [SteelBytes]

maybe the parent hwnd has ws_clipchildren set. if so, maybe try removing
it.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top