Click to See Complete Forum and Search --> : Is there anyway to shape the form anyway you like?


AndyK
February 3rd, 2000, 02:00 PM
Not just rectangle or circle......any shape, you basically draw the shape with lines and then kind of insert it into a form making form to show as a shape that was drawn

Weasel
February 9th, 2000, 10:12 AM
I know of no official way to do this, but would look for a way to capture all mouse strokes, and to draw bitmaps on the screen using your own to to decide wheter the mouse was over them, or if it should be passed on to another app.
You'd need two main bitmaps for the window, the window itself and the mask, using the old and/or method for transparency. This would probably done with another real, and rectangular (but invisible) form so you have somewhere to place the controls that you fake, Winsocks, or whatever else you'd need to drop onto a form.

Alternately, you could take an ordinary form that contains the form you would want, drop whater wherever on it, and keep changing the background of the form to match whatever is under it.