I am using a CTabCtrl to manage different UI states. These states are
controled by a combo box. I am bassically using the tab ctrl to easily
display the apporpiate child dlg. I would like to hide the "tab" part of the
control, and just show the child dlg. I there a way to do this? I have
tried a quite a few tricks, and none of them seem to work. Any assitence
would be greatly apperciated.
Thank you.
If your talking about a PropertySheet, then maybe getting the TabControl.
CMyPropertySheet.
CTabCtrl* tab = GetTabControl();
tab->ShowWindo(SW_HIDE);
Good Luck,
--
Christopher J. Holland [!MVP]
http://www.mvps.org/vcfaq/
http://www.codeguru.com
http://www.codeproject.com
http://www.naughter.com/
http://support.microsoft.com/default.aspx
http://msdn.microsoft.com/howto/
http://msdn.microsoft.com/library/
www.flounder.com/mvp_tips.htm
"durkgod" <dur...@discussions.microsoft.com> wrote in message
news:43448237-8713-4089...@microsoft.com...
Why not dispense with the tabctrl since you are not using it's
functionality?
Instead you could use ShowWindow() with SW_SHOW or SW_HIDE on the child
cotrols you want to display.