Tabbed Dialog box of VC++

Posted on 2001-06-21
Last Modified: 2013-11-20
I have created a dialog box with some edit boxes and fields . Now i want to use tab instead of enter key to move among these fields. Can you tell me how can i implement it? I am not in touch for the last 4 years with VC++. Some of my friend needs help can you give me a sample code for it too. What i remember is that we can define the tab orders in the wizard it self or we have to write it in an event.Pl, give me details of it.

Thanks a lot.
Question by:aslexpert
  • 4

Accepted Solution

IainHere earned 100 total points
ID: 6214776
Press CTRL-D [or Layout->Tab Order], and the tab order is listed on the screen.  Then click on the boxes in the order you want them to respond to the TAB.

That's all there is to it - TAB moving between fields exists as standard.

Expert Comment

ID: 6214782
Oh yeah, of course you need to be in the resource editor when you press CTRL-D :)

Expert Comment

ID: 6214805
Oh yeah, of course you need to be in the resource editor when you press CTRL-D :)
LVL 49

Expert Comment

ID: 6216701
>>Now i want to use tab instead of enter key to move among these fields.

Normally the Tab key moves you around the dialog box and the Enter key OKs and dismisses the dialog.  So I can't understand the question.

-- Dan

Expert Comment

ID: 6218539

I don't mean to be picky or anything, but...

If an answer fixes your problem, and you don't have to do much else yourself, that is an A grade answer.  I've seen some guidelines around here somewhere regarding how to grade answers, but I can't find them at the moment.  [An answerer's reliability is often judged on their grades]

Just mentioning it :-)

Featured Post

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Adapt this command to show who installed 29 108
Expand macro to ask for filename column 8 37
deburging in oracle form 12 98
Problem to event 3 92
This is to be the first in a series of articles demonstrating the development of a complete windows based application using the MFC classes.  I’ll try to keep each article focused on one (or a couple) of the tasks that one may meet.   Introductio…
Exception Handling is in the core of any application that is able to dignify its name. In this article, I'll guide you through the process of writing a DRY (Don't Repeat Yourself) Exception Handling mechanism, using Aspect Oriented Programming.
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 tutorial gives a high-level tour of the interface of Marketo (a marketing automation tool to help businesses track and engage prospective customers and drive them to purchase). You will see the main areas including Marketing Activities, Design …

813 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

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now