Print Page | Close Window

Question with 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=2444
Printed Date: 08 November 2025 at 11:27am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Question with task panel
Posted By: unit158
Subject: Question with task panel
Date Posted: 23 June 2005 at 3:16pm
I am currently developing a little practice application as I familiarize myself with this great package... but I am having a little trouble with something...

I have used the TaskPanel sample application as a guide to creating a similar application, but I would like to have a little more flexibility with the main portion of the program. The TaskPanel seems to use a CListCtrl, I would like to be able to use a tab control, or even have it display a bitmap... I am having trouble implementing something like this.

If there are any sample apps that do this, or if anyone has any suggestions about how to go about this, I would greatly appreciate the help.

-Mike



Replies:
Posted By: JamesH
Date Posted: 23 June 2005 at 3:56pm

Hey Mike,

I'm using the active-x vesion but I think the same thing holds true of the MFC one.  You can just add an item to the group using the "xtpTaskItemTypeControl" style.  Then assign the Handle property the handle of the control you want displayed in the task panel (or you can use the Control property).

I display a child dialog that has several controls on it as a single item.



Posted By: unit158
Date Posted: 24 June 2005 at 10:26pm
Im not so sure xtpTaskItemTypeControl applies to MFC


If it does, I havent been able to find any documetation or examples of it.


Posted By: bevpet
Date Posted: 26 June 2005 at 9:11pm

take a look at the Tabmanager sample...

x:...\Codejock Software\MFC\Xtreme Toolkit Pro\Samples\Common\TabManager



Posted By: JamesH
Date Posted: 27 June 2005 at 12:02pm

I'm not sure about MFC but when using WTL I go:

 ITaskPanelGroupItemPtr controlItem2 = group3->Items->Add( 5, "Test Custom4 Control", XtremeSuiteControls::xtpTaskItemTypeControl );


 controlItem2->Handle = (int)myControlToAddToTaskPane->hwnd();


 




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