Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Task Panel
  New Posts New Posts RSS Feed - [SOLVED] CXTPTaskPanel::AddGroup without string
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

[SOLVED] CXTPTaskPanel::AddGroup without string

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


Joined: 23 January 2009
Location: Belgium
Status: Offline
Points: 8
Post Options Post Options   Thanks (0) Thanks(0)   Quote MikeM Quote  Post ReplyReply Direct Link To This Post Topic: [SOLVED] CXTPTaskPanel::AddGroup without string
    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 ?
Back to Top
MikeM View Drop Down
Newbie
Newbie


Joined: 23 January 2009
Location: Belgium
Status: Offline
Points: 8
Post Options Post Options   Thanks (0) Thanks(0)   Quote MikeM Quote  Post ReplyReply Direct Link To This Post Posted: 10 October 2011 at 5:39am
I have found it.

CXTPTaskPanelGroup *pTaskPanelGroup = m_cTaskPanel.AddGroup(0);

pTaskPanelGroup->SetCaption("my caption");
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.154 seconds.