Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Toolkit Pro
  New Posts New Posts RSS Feed - Toolkit Pro / XAML Vector icons in CXTPTaskpanel?
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Toolkit Pro / XAML Vector icons in CXTPTaskpanel?

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


Joined: 25 February 2021
Status: Offline
Points: 3
Post Options Post Options   Thanks (0) Thanks(0)   Quote keinerhier Quote  Post ReplyReply Direct Link To This Post Topic: Toolkit Pro / XAML Vector icons in CXTPTaskpanel?
    Posted: 23 July 2021 at 12:16pm
Hello,

is there any information about the usage of XAML vector icons in a CXTPTaskPanel?

I realized vector icons in my Toolbars and Menus (halfway by XTPImageManager()->SetIcon(L"RT_XAML", ... )), but found no way to implement them on the task panels. 

Any help is appreciated,
Thank you in advance,
K.


Back to Top
markr View Drop Down
Senior Member
Senior Member


Joined: 01 August 2004
Status: Offline
Points: 443
Post Options Post Options   Thanks (0) Thanks(0)   Quote markr Quote  Post ReplyReply Direct Link To This Post Posted: 24 July 2021 at 4:19pm
You can allocate a new CXTPImageManager instance and assign it to CXTPTaskPanel via the SetImageManager method. Then just populate the CXTPImageManager instance with vector icons as you normally would.
Back to Top
keinerhier View Drop Down
Newbie
Newbie


Joined: 25 February 2021
Status: Offline
Points: 3
Post Options Post Options   Thanks (0) Thanks(0)   Quote keinerhier Quote  Post ReplyReply Direct Link To This Post Posted: 27 July 2021 at 9:01am
Dear markr,

thank you very much. 
Anyway, the possibility to link the IconIndex of a CXTPTaskPanelGroupItem to a vector icon (xaml) seems missing. After SetIcon() the Item remains empty :-( 

Best regards,
K.
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.109 seconds.