Draw Over Controls

TaleOfTimes

Newcomer
Joined
Dec 20, 2005
Messages
15
Hello everyone,

How would I go about drawing something on a form OVER the controls. The CreateGraphics draws first and then the controls over it.

i want to have a semi-transparent draw over the forum, i tried using a panel, but doesn't seem to support that kind of behavior (even with setstyle allowing transparent background)

help?
 
The simple answer is you cannot draw over a control. There are hacks that will allow you to achieve various things such as have an odd shaped control or a transparent control that doesn't overlap more than one object. But to the best of my knowledge you cannot have a semi-transparent control that overlaps other controls.
 
ok thx for the reply

I'll just take a snapshot of the form's controls, hide the controls, and then draw it as an image (the whole point is to block access to the controls).
 
Back
Top