Custom Caption in tasks |
Post Reply |
Author | |
jowndow
Newbie Joined: 27 September 2009 Location: United States Status: Offline Points: 1 |
Post Options
Thanks(0)
Posted: 27 September 2009 at 7:06pm |
I am trying to add groups in the TaskPanel with a run-time generated caption.
Because I won't know the group title before run-time, I can't use: CXTPTaskPanelGroup* pGroup1 = m_wndOutlookBar.AddGroup(4000); where 4000 is the ID of the string the String Table. Is there a way to add a group in this way? CXTPTaskPanelGroup* pGroup1 = m_wndOutlookBar.AddGroup("Today, is Sunday September 27th"); Thanks! :) |
|
Xtreme ToolkitPro 2008 (12.0.2)
|
|
rdhd
Senior Member Joined: 13 August 2007 Location: United States Status: Offline Points: 886 |
Post Options
Thanks(0)
|
Just add a group with whatever ID you want the group to have. Then call the SetCaption method of the group object. If the ID happened to match a string in the string table, no problem since you will then be resetting the caption. If you want no caption, call SetCaption("");
|
|
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 |