by
Allistar Melville >> Thu, 7 Jan 1999 8:19:55 GMT
We have made some for our application. It's very easy.
Create a control subclassed from "Picture" called "ToolbarButton" or something.
on the windowCreated event get the control to create a frame with the right size border and at the right position relative to the picture
(this will be the bit that gives it the appearance of being indented
in or out).
Now on the mouseMove and mouseLeave events on the Picture, code it so that the frame is visible when the mouse is over it, and invisible
when it isn't.
Hope this helps.
Allistar.
------------------------------------------------------------------
Allistar Melville (BSc) Home:
allistar@ihug.co.nz \_
Software Developer Work:
allistar@focussoft.co.nz </'
Auckland, NEW ZEALAND /)
Web:
http://homepages.ihug.co.nz/~allistar/ (/`
`
"Take from the church the miraculous, the supernatural, the
incomprehensible, the unreasonable, the impossible, the
unknowable, the absurd, and nothing but a vacuum remains."
[Ingersoll's Works, Vol. 1, p. 285] ------------------------------------------------------------------