A "simple" IF should suffice. Knowing the top-left position of the layer
(and taking into account the window border and top icons), it's width, and
the height of the top bar you tell it not to move unless the mouse was
clicked in the right place.
> I have some layers that I want to drag around on the screen. But I want a
> 'windows look and feel', I should only be able to drag the layer if the
> mousebutton is clicked in the top area of the layer (I have made the layer
> look like Windows Explorer).
>
> Is this possible?
>
>
> [EMAIL PROTECTED]
>
> _______________________________________________
> Dynapi-Help mailing list
> [EMAIL PROTECTED]
> http://lists.sourceforge.net/lists/listinfo/dynapi-help
_______________________________________________
Dynapi-Help mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/dynapi-help