![]() |
Simple Task Panel |
Post Reply
|
| Author | |
mailhaim
Newbie
Joined: 28 September 2005 Status: Offline Points: 26 |
Post Options
Thanks(0)
Quote Reply
Topic: Simple Task PanelPosted: 06 June 2006 at 1:41am |
|
The Problem: I want to embed a list of icons as a pane of CXTPShortcutBar.
1. The list must have single icon for each row (like task panel). 2. The list must support drag&drop (not within the list but rather from the list outside - to different windows). 3. The list should be simple - without internal folders. Using CXTOutlookBar sound logical (single icon per row; no folders) but does NOT support D&D. Using CXTPTaskPanel or CXTOutBarCtrl is irrelevant because of the folders/groups feature (what is the difference between those 2 classes?). Having CListCtrl may be relevant - but how do I ensure single icon for each row? I'll appreciate any idea. Haim. |
|
![]() |
|
Oleg
Senior Member
Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
Quote Reply
Posted: 06 June 2006 at 8:25am |
|
Hi, You can try CXTPTaskPanel , but call ShowCaption(FALSE) for group to hide it. Run Samples\TaskPanel\ToolBox to see styles of TaskPanel. CXTOutBarCtrl is old clas from Toolkit standard... quite obsolete now.
|
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
![]() |
|
mailhaim
Newbie
Joined: 28 September 2005 Status: Offline Points: 26 |
Post Options
Thanks(0)
Quote Reply
Posted: 06 June 2006 at 8:49am |
|
Thanks Oleg,
I'll give it a shot. I assume that I need to use the AddTextItem and assign it an image to get a list of icons with text beneath it. But... Does the task panel supports drag and drop? I mean something like dragging an image from Visio shapes pane to the canvas... |
|
![]() |
|
Oleg
Senior Member
Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
Quote Reply
Posted: 06 June 2006 at 2:47pm |
|
Hi, yes, it support. |
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
![]() |
|
mailhaim
Newbie
Joined: 28 September 2005 Status: Offline Points: 26 |
Post Options
Thanks(0)
Quote Reply
Posted: 18 June 2006 at 7:32am |
|
calling SetCaption(FALSE) does make the caption disppear but... my items are still grouped (in rectangular border) withing the task pane.
I would like that the user will not notify this items are grouped: 1. The group's border will not show 2. The group color will be the same as the task panel color. Thanks for your inputs. Regards, Haim. |
|
![]() |
|
mailhaim
Newbie
Joined: 28 September 2005 Status: Offline Points: 26 |
Post Options
Thanks(0)
Quote Reply
Posted: 20 September 2006 at 12:02pm |
|
I can't figure why drag&drop in my task panel is not working!
I have a task panel within a shortcut bar (as one of its panes). I called AllowDrag on the task panel and on each and every one of the item I added but... my override to OnStartItemDrag does not get called. I trieds to catch XTPWM_TASKPANEL_NOTIFY in my main frame window (the owner of the task panel) with no success. I really need your help here. Any ideas? |
|
![]() |
|
Post Reply
|
|
|
Tweet
|
| Forum Jump | Forum Permissions ![]() You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |