Skinframework problems |
Post Reply |
Author | |
afekhar
Groupie Joined: 30 August 2006 Location: France Status: Offline Points: 43 |
Post Options
Thanks(0)
Posted: 04 September 2006 at 4:48am |
I have display problems with the skinframework.
I'm using this portion of code to create the skinframework object in CMainFrame::OnCreate(...) : CComPtr<IUnknown> pIUnknown; if (!SUCCEEDED(AtlAxCreateControlEx( OLESTR("Codejock.SkinFramework.10.3"), m_hWnd, NULL, NULL, &pIUnknown, __uuidof(XtremeSkinFramework::_DSkinFramework), NULL))) { MessageBox(_T("Create Control Codejock.SkinFramework failed!")); return FALSE; } CComPtr<XtremeSkinFramework::_DSkinFramework> spSkinFramework; if (SUCCEEDED(pIUnknown.QueryInterface(&spSkinFramework))) { spSkinFramework->LoadSkin(_bstr_t("c:\\Office2007.cjstyles"),_bstr_t("")); spSkinFramework->ApplyWindow(HandleToLong(m_hWnd)); XtremeSkinFramework::SkinFrameworkApplyOptions options=spSkinFramework->GetApplyOptions(); options=(XtremeSkinFramework::SkinFrameworkApplyOptions)(options|XtremeSkinFramework::xtpSkinApplyMetrics); spSkinFramework->PutApplyOptions(options); } Can anyone tell me where is the problem with this manner of creating the skinframework object and why I have these display problems. I Thank you in advance, Ahmed. |
|
Oleg
Admin Group Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
|
Hello,
Send question to support with details what problem you see.
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
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 |