Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations MikeeOK on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Using Tabs in MFC

Status
Not open for further replies.

trose178

Programmer
Nov 26, 2002
26
US
Hey guys im writing an Address Book type programming using a database in MFC and I am trying to make it so that i use tabs in the dialog to switch from personal info to home info. But when I inserted the tab it has 5 tabs and I only need 1. I would like to know how to get rid of thos tabs and how to set it just the database stuff to the first one.

Thanks in Advance
-Tim
 
The five tabs shown in the dialog editor are just for example's sake. When your program actually runs it won't have any tabs to begin with.

You will have to add tabs, and then handle the tab notifications for when the user switches tabs. See the CTabCtrl reference for about how to do this
 
ok thank you hopefully i can finish this program before june or my supervisor in high school won't let me into it during my senior year
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top