Print Page | Close Window

[SOLVED] CXTPTaskPanel::AddGroup without string

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Task Panel
Forum Description: Topics Related to Codejock Task Panel
URL: http://forum.codejock.com/forum_posts.asp?TID=19024
Printed Date: 28 March 2024 at 8:13am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: [SOLVED] CXTPTaskPanel::AddGroup without string
Posted By: MikeM
Subject: [SOLVED] CXTPTaskPanel::AddGroup without string
Date Posted: 06 October 2011 at 8:58am
Hi everyone,

I want to use the CXTPTaskPanel and I'm be blocked because the AddGroup takes an ID od a string and not a string pointer.

My string comes from a plugin function called "CString GetName()" and so, can not use the string table ressource.

Any idea ?



Replies:
Posted By: MikeM
Date Posted: 10 October 2011 at 5:39am
I have found it.

CXTPTaskPanelGroup *pTaskPanelGroup = m_cTaskPanel.AddGroup(0);

pTaskPanelGroup->SetCaption("my caption");



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