How to replace the dialog

xiaoxiao2021-03-05  27

How to use MAGICSKIN?

1. Take skinmagiclib.h with skinmagiclibmt6t.lib, skinmagiclibmd6t.lib. 2, add Skinmagic3 to your information, add Skinmagic3, add #include "skinmagiclib.h" in your CPP In Bool CaaApp :: InitInstance () Add / / === SkinMagic ===

// Initialize the SkinMagic library Verify (AFXGetInstanceHandle (), "AA", NULL, NULL); // Load skin files from the resource. You can also use code "LOADSKINFILE (" Corona.smf ")" to load IF directly from the file (AFXGETInstanceHandle (), (LPCTSTR) IDR_SKINMAGIC1, "SKINMAGIC")) {// Settings dialog, default skin SETDIALOGSKIN ("DIALOG" }

/ / === Skinmagic ===

5, in the end, I have to use this:

INT CAAAPP :: EXITINSTANCE () {// Todo: Add Your Specialized Code Here and / or Call The Base Class EXITSKINMAGICLIB (); Return CWINAPP :: EXITINSTANCE ();

转载请注明原文地址:https://www.9cbs.com/read-34469.html

New Post(0)