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: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

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
post4 challenge 28 104
fix34  challenge 9 142
building a service to accessed via telnet client, want colors ? 4 92
Problem to App source 6 71
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…
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.
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …

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