Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Toolkit Pro
  New Posts New Posts RSS Feed - Simple Task Panel
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Simple Task Panel

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


Joined: 28 September 2005
Status: Offline
Points: 26
Post Options Post Options   Thanks (0) Thanks(0)   Quote mailhaim Quote  Post ReplyReply Direct Link To This Post Topic: Simple Task Panel
    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.


Back to Top
Oleg View Drop Down
Senior Member
Senior Member


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: 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
Back to Top
mailhaim View Drop Down
Newbie
Newbie


Joined: 28 September 2005
Status: Offline
Points: 26
Post Options Post Options   Thanks (0) Thanks(0)   Quote mailhaim Quote  Post ReplyReply Direct Link To This Post 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...
Back to Top
Oleg View Drop Down
Senior Member
Senior Member


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: 06 June 2006 at 2:47pm

Hi,

yes, it support.

Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
Back to Top
mailhaim View Drop Down
Newbie
Newbie


Joined: 28 September 2005
Status: Offline
Points: 26
Post Options Post Options   Thanks (0) Thanks(0)   Quote mailhaim Quote  Post ReplyReply Direct Link To This Post 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.
Back to Top
mailhaim View Drop Down
Newbie
Newbie


Joined: 28 September 2005
Status: Offline
Points: 26
Post Options Post Options   Thanks (0) Thanks(0)   Quote mailhaim Quote  Post ReplyReply Direct Link To This Post 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?
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.047 seconds.