text in tabcontrols
Posted on 2000-03-18
MFC. Microsoft Visual Studio 5.0.
How can I change the text in the tabs of a tabcontrol? (Code, please)
The whole problem is: I have an MFC dialog. I have an input-text field associated with the member variable m_Name (CString).
When the user types in this field, I want the text in a tab of a tabcontrol to be written at the same time with the user input. Actually, the user is typing the name of the tab. The name of the tab should be written at the same time, as if the user were typing direct on the tab.
I have tried this, but it doesn't work at all:
//the user types in the input field m_Name
Thanks in advance.