Easyskin is a tool for developing programs or existing programs that enhance interface effects, and a simple function call can add beautiful skins to your application, including all system dialogs and message windows. And can customize the skin, everything is so easy.
First, the implementation of the function
1, support all buttons, including Checkbutton,radiobutton,normalbutton,groupbotton.
2, support all the combo Box.
3, support the scroll bar.
4, support the progress bar.
5, support the Common dialogue window and MessageBox.
6, all support hover state.
7, support single document, multiple document, dialogue window program.
8, support VC6/7, VB6/7, Cb5/6/7.
9, support Win95 above operating system.
Ii. Methods of Use
Only three files: "EasySkin.h", "EasySkin.lib", "EasySkin.dll"
1, add "EasySkin.h" file to the project
2. Include header file in app class: #include "EasySkin.h"
3, in the App class InitInstance () function initialization dynamic library, loading skin files:
Initeasyskin (Null,null,null,null);
Note: The program must be run to ensure that the EasySkin.dll file exists, otherwise the program will not run.
Third, custom skin use instructions:
Easyskin already contains a skin file, the production of their own skin files as long as the corresponding files to the designated place on it, plus a configuration file can be. You can change the format.
(1) title bar background: Two requirements, one is the normal state, one is the program lost focus, in order to place in a picture. (Top,left,right,bottom)
(2) Title bar button: includes minimizing, maximizing, resuming, closing. Each picture contains three or four small graphs, normal, Mouse on, Mouse down, Disabled (not available)
(3) button bitmap: Can not be used. Also five states are placed in a picture. respectively, normal, Mouse on, Mouse down, Disabled, Default, Checkbutton, RadioButton have six pictures respectively
(4) ScrollBar diagram is the most complex, please press the original format, all buttons are 18*18, but the chute uses three places.
I have provided an example of a configuration file, Easyskin.ini.
(5) Combo box has four pictures, progress has two charts.