ChangeLog as of December 20, 2012:
- I accidentally removed form pinning capability via user interaction on ssSwitch. Fixed.
- Changed previous skin because it now looks "bland" to my taste. Created skin # 2.
- Added nSkin parameter in the end with default value of 1. Right now it only has two values, i.e., 1 or 2.
Like every class in my library, its usage is very simple:
And as you can see, the first parameter is nPosition. It has possible 4 values which are:
1 = top left
2 = top right
3 = bottom left
4 = bottom right
Meaning, by simply changing the value of that first parameter, the class will auto-positions itself on any of the four corners of your form.
For those who are not familiar with its form pinning capability, it means you can drag around the form where this class is except when you click the switch and it turns into red, then you can no longer move your form. To move it around again, click again that switch so it will be in the OFF position.