Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Toolkit Pro
  New Posts New Posts RSS Feed - Theme to apply for dynamic MFC Toolbar Buttons
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Theme to apply for dynamic MFC Toolbar Buttons

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


Joined: 10 March 2023
Location: India
Status: Offline
Points: 2
Post Options Post Options   Thanks (0) Thanks(0)   Quote PSCel Quote  Post ReplyReply Direct Link To This Post Topic: Theme to apply for dynamic MFC Toolbar Buttons
    Posted: 10 March 2023 at 9:54am
Hi All,

We have a MFC Dialog for which we are loading the Custom theme (*.cjstyle) that we created using the Theme Builder tool of the XTP Toolkit Pro library using the XTPSkinManager()->LoadSkin("*.cjstyle").

Theme Loads correctly for all the Controls on the Dialog except for the "n" no. of ToolBar Buttons. These "n" MFC Toolbar Buttons are created Dynamically. When the theme is getting applied we see that the last ToolBar Button [(n-1)th] is the only Toolbar Button that is visible on the Dialog. Rest of them only appear with the Tooltip associated with each button  however the button is Hidden.

Is it possible to apply the XTPToolkit theme on the Dynamically created MFC ToolBar buttons? 

Any help is appreciated.
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.125 seconds.