Print Page | Close Window

Simple Task Panel

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Toolkit Pro
Forum Description: Topics Related to Codejock Toolkit Pro
URL: http://forum.codejock.com/forum_posts.asp?TID=4355
Printed Date: 11 November 2025 at 5:20am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Simple Task Panel
Posted By: mailhaim
Subject: Simple Task Panel
Date Posted: 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.





Replies:
Posted By: Oleg
Date 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


Posted By: mailhaim
Date 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...


Posted By: Oleg
Date Posted: 06 June 2006 at 2:47pm

Hi,

yes, it support.



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


Posted By: mailhaim
Date 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.


Posted By: mailhaim
Date 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?



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