Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

Making Tabs In A Dialog Application

Posted on 2004-08-31
6
158 Views
Last Modified: 2013-11-20
does anyone know how to make tabs i have no idea how to use them and i have read most of the online documents on the suject.

i will raise the points if u ask cause i dont know how hard it is to make tabs

send an instant message i live in the eastern time zone (i live in michigan USA) i am on most of the time

yahoo - geoffism00
msn - geoffism@hotmail.com
aol - geoffism00
0
Comment
Question by:the_hood00
6 Comments
 
LVL 39

Expert Comment

by:itsmeandnobodyelse
ID: 11943806
If you mean the 'tab order' of a dialog resource, it is easy:

Open the dialog resource in resource editor. Choose menu 'Layout - Tab Order ...' and click all controls til the order is correct. After build you could use the 'TAB' key to navigate on your controls.

If you want to insert the 'TAB' character to a string, use '\t' for that:

     string tabbedString = "That\t string\t is\t tabbed";

You may use these strings for printing, writing to text files and and in rich-edit controls.

Regards, Alex
0
 
LVL 11

Expert Comment

by:KurtVon
ID: 11945941
If you mean putting a tab control on the dialog, just use the dialog control toolbar to add the tab controls to your dialog.  Then go into the class wizard and add a member variable that is associated with those tab controls.  Make sure it is a control category variable.

Now you should have a CTabCtrl object to add tab names to, and adding property pages is covered at http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vccore98/HTML/_core_using_ctabctrl.asp

Hope this helps.
0
 
LVL 5

Expert Comment

by:Nass89
ID: 11948922
Hi,
Have a look at:
http://www.codersource.net/mfc_ctabctrl.html.

Good Luck!
0
 

Expert Comment

by:cheapstr
ID: 11969306
The easiest way I found to use a tab is to just use a property sheet:
http://www.functionx.com/visualc/controls/propsheet.htm
0
 
LVL 1

Accepted Solution

by:
Computer101 earned 0 total points
ID: 12251887
PAQed - no points refunded (of 50)

Computer101
E-E Admin
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
repeatEnd java challenge 42 85
Excel Use VBA to get user's Mac Address for their computer 5 242
sameEnds challenge 3 180
"Black Box" Testing of Control System Software 2 70
Introduction: The undo support, implementing a stack. Continuing from the eigth article about sudoku.   We need a mechanism to keep track of the digits entered so as to implement an undo mechanism.  This should be a ‘Last In First Out’ collec…
If you use Adobe Reader X it is possible you can't open OLE PDF documents in the standard. The reason is the 'save box mode' in adobe reader X. Many people think the protected Mode of adobe reader x is only to stop the write access. But this fe…
This video will show you how to get GIT to work in Eclipse.   It will walk you through how to install the EGit plugin in eclipse and how to checkout an existing repository.
Microsoft Active Directory, the widely used IT infrastructure, is known for its high risk of credential theft. The best way to test your Active Directory’s vulnerabilities to pass-the-ticket, pass-the-hash, privilege escalation, and malware attacks …

856 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question