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.