This is an example of how to create and use masked and semi-transparent bitmap buttons that can be overlaid on any background, including other bitmaps. The buttons are automatically alpha-blended (anti-aliased) with the background to create nice smooth edges, and provide region clipping to [...]
One thing I love best about XP is the capability to have themed controls. You can even load new themes much like it’s been possible with most window managers for the X Window System.
These themed controls can be used with .NET Windows Forms by supplying a manifest and – for some [...]
I needed a button for a skinnable user-interface, where the user could change the visual aspects. My first idea, a button that is skinned by bitmaps, was a little unhandy for my interface, so I searched for a button that could draw itself using an internal formula and some user-given [...]
When I was writing an application for an Arabic customer in C++, I noticed that the buttons/labels in my CDialog did not understand my Arabic text. This class allows you to write any Unicode text in the button control. (And you can use it as a direction for making the same for a static label, [...]
I assume that you are familiar with the publish-subscribe pattern, the .NET way, through events. The publisher fires an event and the subscriber consumes that event. I also assume that you are familiar with the Invoke() method and InvokeRequired property. In a multithreading environment the UI [...]