Use and effect testing of free skin controls USkinv2.2

Source: Internet
Author: User
1. Control Preparation 1. Copy USkin. dll, USkin. lib, and skin file *. u3 to the directory where the exe file is located. 2. Copy the USkin. h file to the include folder under the project file directory (the include path in the Code must be changed according to the actual path ). 2. Add code 1. Enter USkin. l in project-property-connection-input-add dependency.

1. Control Preparation 1. Copy USkin. dll, USkin. lib, and skin file "*. u3" to the directory where the exe file is located. 2. Copy the USkin. h file to the include folder under the project file directory (the include path in the Code must be changed according to the actual path ). 2. Add code 1. Enter USkin. l in project-property-connection-input-add dependency.

I. Control Preparation
1. Copy USkin. dll, USkin. lib, and skin file "*. u3" to the directory where the exe file is located.
2. Copy the USkin. h file to the include folder under the project file directory (the include path in the Code must be changed according to the actual path ).
Ii. Add code
1. Enter USkin. lib in "project"> "properties"> "connection"> "input"> "add dependency.
[Add at the bottom of stdafx. h:
# Pragma comment (lib, "uskin. lib ")]

2. In the *** App. cpp file header, add:

# Include "include/USkin. h"

3. In the *** App. cpp file, add:

USkinInit (NULL, NULL, _ T ("media. u3 "));

4. Add:

USkinExit ();

5. In the main dialog box, add the. cpp file header:

# Include "./include/uskin. h"

6. Add the code to the OnInitDialog () or other functions of the. cpp file in the Main Dialog Box:

Int n = rand ();
Float h = n % 360;
USkinApplyColorTheme (h, 1.0f );
// The color range is 0 ~ 360, saturation range: 0.0 ~ 1.0

Iii. BUGS
1. When no sub-menu item exists in the menu bar, an exception occurs when the mouse slides over the menu item.

Iv. test conclusion:
1. This control has a matching skin development kit, but there are fewer existing skins.
2. The control supports a variety of color combinations for a skin.
3. The control supports more than 20 Windows controls.
4. When no sub-menu item exists under the menu item in the dialog box, an exception occurs when you move the cursor over the menu.
5. The returned menu handle is empty and cannot be selected (marked.
6. Poor Support for redrawing controls.
7. Other problems are unknown.

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.