I finished my splitter control which separates viewports, but I'm not happy with the way its displayed when I am dragging the splitter. In Hammer, the program draws semi-transparent lines as you drag the mouse. I'm assuming this is done with GDI drawing, because the appearance is similar to how mouse icons look.

Here you can see that the lines are somewhat blended with what lies underneath them:

How can I draw lines like these on a window?

Here you can see that the lines are somewhat blended with what lies underneath them:

How can I draw lines like these on a window?