ProgramTo use the skin library, follow these steps:
1. Copy the following files to your program directory.
Skinplusplusdll. Lib, skinplusplusdll. dll, skinplusplus. H, minimized. SSK, xpna. SSK, softcrystal. SSK
Files with the. SSK suffix represent three skin library files
2. Include the header file and link skinplusplusdll. Lib. For example, add the following content to the stdafx. h file:Code
// Include the header file. Link skinplusplusdll. Lib # include "skinplusplus. H" # pragma comment (Lib, "skinplusplusdll. lib ")
3. Load the skin library file in the oninitdialog () function of the DLG class and use the skin. The Code is as follows:
// Load the skin database srand (Time (null); int NRand = rand () % 3; Switch (NRand) {Case 0: initializeskin ("xpcorona. SSK "); break; Case 1: initializeskin (" softcrystal. SSK "); break; Case 2: initializeskin (" minimized. SSK "); break ;}
Now that you run your program, you have used three random skin libraries.
Case program: http://download.csdn.net/detail/windows_nt/5347158