![]() |
How to apply the SkinFramework on a non-MFC app ? |
Post Reply ![]() |
Author | |
tomay3000 ![]() Groupie ![]() ![]() Joined: 08 December 2010 Location: Algeria Status: Offline Points: 56 |
![]() ![]() ![]() ![]() ![]() Posted: 23 September 2017 at 1:47pm |
Hello,
I have a non-MFC application (wxWidgets app), which is a pure Windows API framework. I wonder if it is possible to apply the skin framework using only the shared library (the .DLL one) dynamically and redefine LoadSkin function with non-MFC data types!
Will this work ? Thank you for your understanding.
|
|
Product: Codejock ToolkitPro MFC v16.2.0
Platform: Microsoft Windows 8 Pro (64-bit) Language: Microsoft Visual C++ v6.0 (MFC) |
|
![]() |
|
olebed ![]() Admin Group ![]() Joined: 01 July 2014 Location: Ukraine Status: Offline Points: 841 |
![]() ![]() ![]() ![]() ![]() |
Hello tomay3000,
SkinFramework hooks almost all calls to drawing. It exchange addresses in all loaded DLLs and in application with addresses of functions from in SkinFramework library. You can find what exactly functions and DLLs hooks SkinFramework in array CXTPSkinManagerApiHook::m_apiHookInfos[] (Source\SkinFramework\XTPSkinManagerApiHook.cpp). If wxWidgets uses the same libs and functions to drawing then SkinFramework can hook it. Regards, Oleksandr Lebed |
|
![]() |
|
tomay3000 ![]() Groupie ![]() ![]() Joined: 08 December 2010 Location: Algeria Status: Offline Points: 56 |
![]() ![]() ![]() ![]() ![]() |
Thanks for the reply, I will try to dig a little bit in the source code and see if I can generate a header file with all required definitions to use with my Windows API application
|
|
Product: Codejock ToolkitPro MFC v16.2.0
Platform: Microsoft Windows 8 Pro (64-bit) Language: Microsoft Visual C++ v6.0 (MFC) |
|
![]() |
Post Reply ![]() |
|
Tweet
|
Forum Jump | Forum Permissions ![]() You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |