![]() |
Question with task panel |
Post Reply
|
| Author | |
unit158
Newbie
Joined: 15 June 2005 Status: Offline Points: 10 |
Post Options
Thanks(0)
Quote Reply
Topic: Question with task panelPosted: 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 |
|
![]() |
|
JamesH
Senior Member
Joined: 01 December 2004 Status: Offline Points: 149 |
Post Options
Thanks(0)
Quote Reply
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. |
|
![]() |
|
unit158
Newbie
Joined: 15 June 2005 Status: Offline Points: 10 |
Post Options
Thanks(0)
Quote Reply
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. |
|
![]() |
|
bevpet
Newbie
Joined: 01 April 2005 Location: Canada Status: Offline Points: 39 |
Post Options
Thanks(0)
Quote Reply
Posted: 26 June 2005 at 9:11pm |
|
take a look at the Tabmanager sample... x:...\Codejock Software\MFC\Xtreme Toolkit Pro\Samples\Common\TabManager |
|
![]() |
|
JamesH
Senior Member
Joined: 01 December 2004 Status: Offline Points: 149 |
Post Options
Thanks(0)
Quote Reply
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 );
|
|
![]() |
|
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 |