Christian Graus wrote:
I'm not sure how you'd go about getting the DC to draw directing to the desktop, however, am I right in thinking that's what you want ?
Actually, I don't want to draw on the desktop but on top of my own application across several separate controls, basically to display a box around an area to draw attention to it. I tried walking through the nested controls on my form, but you can only draw in their client areas, which in some cases doe not cover the entire control (e.g. Edit boxes and list boxes with borderstyle "Fixed3D"). Hence I felt forced to revert to old GDI.