Advertisement
C_Volume2 Graphics #80493

MorphButton 1.1 - Gradient-Based Button UserControl (Updates 05/08/05)

Extremely customizable, subclassed, fully owner-drawn button control for those people that like something different than the standard '98 or XP button. Its 60+ visual properties, grouped by graphical entity, button state and mouse behavior, make it possible for you to incorporate literally thousands of different possible looks to the button in every state - button up, down, disabled, focus and mouseover. Want the button to change shape when the mouse pointer moves over it, and also change the border color? No problem. Incorporates Paul Caton's subclassing to handle MouseLeave event, and draws upon the skills of other PSC contributors (credits listed in source) to create a truly different button. Demo is a simple (not fully functional) 4-function calculator, with my Gradient Container Control used as the face and display. DigiFace .TTF font file included for calculator display (you may need to throw that into your windows\fonts folder). All the properties may seem a bit confusing at first but soon you'll be totally used to it. You just have to keep in mind that all the desired properties for each state work in concert to produce the total button concept that you're aiming for. I hope you have as much fun experimenting with this button as I did designing it. ~57k download.

AI

AI Summary: This codebase represents a historical implementation of the logic described in the metadata. Our preservation engine analyzes the structure to provide context for modern developers.

Source Code
original-source
Upload
Original Comments (3)
Recovered from Wayback Machine