Print Page | Close Window

using CImageList with task panel

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Task Panel
Forum Description: Topics Related to Codejock Task Panel
URL: http://forum.codejock.com/forum_posts.asp?TID=7862
Printed Date: 12 December 2024 at 9:56am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: using CImageList with task panel
Posted By: amitb
Subject: using CImageList with task panel
Date Posted: 23 August 2007 at 6:09am
Hi,

Thank you for your previous replies...

In my old implementation i was showing a outlook style bar with the help of
1. CXTOutBarCtrl and 2. CImageList

But, now as you have mentioned that outbarctrl is quite obsolete, i have put a task panel.

The question is how can i set the icons on my taskpanel without me needing to modify much of code
...

I already know that icons/buttons can be set using AddLinkItem(...)

What i want to know is that how can i fit in the new code in the old implementation without much code modification (since i am already using the CImageList at many places...)

Or in other terms, can i use the CImageList with Task Panel ???

Thanks in advance.






Replies:
Posted By: Oleg
Date Posted: 23 August 2007 at 3:35pm
Hi,
 
just call
m_wndTaskPanel.SetImageList(&m_imageList);


-------------
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS


Posted By: amitb
Date Posted: 24 August 2007 at 3:01am
Thanks for the reply Oleg,

I am now using the SetImageList(), but now i want to create the folder on the taskpanel, how do it do that...

since in the CXTOutBarCtrl we can use the func:
AddFolder(...) And also
InsertItem(...)

How can i do the same with TaskPanel ???






Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net