The simplest interface Enhancement library Easyskin

Source: Internet
Author: User

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.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.