Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Making Tabs In A Dialog Application

Posted on 2004-08-31
6
Medium Priority
?
165 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
5 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

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

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

In this article, I'll describe -- and show pictures of -- some of the significant additions that have been made available to programmers in the MFC Feature Pack for Visual C++ 2008.  These same feature are in the MFC libraries that come with Visual …
Introduction: Finishing the grid – keyboard support for arrow keys to manoeuvre, entering the numbers.  The PreTranslateMessage function is to be used to intercept and respond to keyboard events. Continuing from the fourth article about sudoku. …
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.
this video summaries big data hadoop online training demo (http://onlineitguru.com/big-data-hadoop-online-training-placement.html) , and covers basics in big data hadoop .
Suggested Courses

773 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