Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Toolkit Pro
  New Posts New Posts RSS Feed - Howto skin ActiveX control
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Howto skin ActiveX control

 Post Reply Post Reply
Author
Message
renowin View Drop Down
Newbie
Newbie


Joined: 18 June 2008
Location: Germany
Status: Offline
Points: 2
Post Options Post Options   Thanks (0) Thanks(0)   Quote renowin Quote  Post ReplyReply Direct Link To This Post Topic: Howto skin ActiveX control
    Posted: 18 June 2008 at 4:23pm
I have written an ActiveX control which contains a shortcutbar.
The Shortcutbar panels contain CXTTreeCtrl.
I am using the Office2077Silver Style

CXTPPaintManager::SetTheme(xtpThemeRibbon);
m_sBar.SetTheme(xtpShortcutThemeOffice2007);

and everything looks good but the scrollbars of the trees and the Shortcutbar.
If I enable skinning, I get numerous ASSERTS when the control is registered an instanciated.

How can I skin the control or how can I change the look of the scrollbars?
Back to Top
Oleg View Drop Down
Senior Member
Senior Member


Joined: 21 May 2003
Location: United States
Status: Offline
Points: 11234
Post Options Post Options   Thanks (0) Thanks(0)   Quote Oleg Quote  Post ReplyReply Direct Link To This Post Posted: 19 June 2008 at 1:14am
Hi,
To change appearance of ScrollBars you need SkinFramework.
See samples in Skinframework folder.
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.047 seconds.