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

Free Tool: Postgres Monitoring System

A PHP and Perl based system to collect and display usage statistics from PostgreSQL databases.

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
MFC Dialog 9 52
iSeries FTP Exit Program 8 161
C++ BOOL WINAPI ReadFile fails on windows 10 when reading from USB cable 9 509
Separate into files by filename 12 91
Introduction: Displaying information on the statusbar.   Continuing from the third article about sudoku.   Open the project in visual studio. Status bar – let’s display the timestamp there.  We need to get the timestamp from the document s…
Introduction: Dialogs (2) modeless dialog and a worker thread.  Handling data shared between threads.  Recursive functions. Continuing from the tenth article about sudoku.   Last article we worked with a modal dialog to help maintain informat…
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.
Nobody understands Phishing better than an anti-spam company. That’s why we are providing Phishing Awareness Training to our customers. According to a report by Verizon, only 3% of targeted users report malicious emails to management. With compan…

685 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