Tab Control Text
Now that I have created a tab control, I am trying to add static text to the tab control. But, I am not exactly sure as to how I can make it so that it is only added to one of the tabs. And I am using the Windows API and just C. I am not using MFC.
Any help on this is greatly appreciated.
Create the static when you create the TAb control (without the WS_VISIBLE style so the control is invisible).
Process the TABs selection change msgs.
When the 'correct' TAB is selected use ShowWindow() to show/hide the control.
Multiple controls are usually added to a dialog that is shown/hiden instead.
You may need to set the z-order.
You may need to reflect move and size msgs from the parent TAB to the controls.