Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Task Panel
  New Posts New Posts RSS Feed - using CImageList with task panel
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

using CImageList with task panel

 Post Reply Post Reply
Author
Message
amitb View Drop Down
Groupie
Groupie
Avatar

Joined: 13 September 2006
Status: Offline
Points: 50
Post Options Post Options   Thanks (0) Thanks(0)   Quote amitb Quote  Post ReplyReply Direct Link To This Post Topic: using CImageList with task panel
    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.



Back to Top
Oleg View Drop Down
Admin Group
Admin Group


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: 23 August 2007 at 3:35pm
Hi,
 
just call
m_wndTaskPanel.SetImageList(&m_imageList);
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
Back to Top
amitb View Drop Down
Groupie
Groupie
Avatar

Joined: 13 September 2006
Status: Offline
Points: 50
Post Options Post Options   Thanks (0) Thanks(0)   Quote amitb Quote  Post ReplyReply Direct Link To This Post 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 ???



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.141 seconds.