Click here to Skip to main content
15,880,392 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi,

I have a project generated by Visual Studio 2010 with a tree view .

They are two tabbed pane.

I want to change the tabbed pane text and the title of the pane over.

I have tried with IDS_CLASS_VIEW, but it changes only the tooltips over the tabbed pane.

How can I change the tabbed pane and title text?

Thanks,

Claude
Posted
Comments
Richard MacCutchan 13-Nov-14 3:49am    
Please do not post the same question in multiple forums.

1 solution

If the tab control's content is defined as a dialog resource, use the Visual Studio dialog editor to change it.

If you want to programmatically change the tab's text, read up on the CTabCtrl.

http://msdn.microsoft.com/en-us/library/essk9hbw.aspx[^]

Bind (or Attach) a CTabCtrl to the actual HWND. Use GetItem/SetItem to change the tab content.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900