Solved

Tabbed Dialog box of VC++

Posted on 2001-06-21
5
320 Views
Last Modified: 2013-11-20
Hi,
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.
0
Comment
Question by:aslexpert
[X]
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
  • 4
5 Comments
 
LVL 4

Accepted Solution

by:
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.
0
 
LVL 4

Expert Comment

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

Expert Comment

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

Expert Comment

by:DanRollins
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
0
 
LVL 4

Expert Comment

by:IainHere
ID: 6218539
aslExpert,

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 :-)
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering 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
mixString challenge 36 137
fizzArray2 challenge 1 112
Line meaning 9 99
sumHeights  challenge 17 83
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…
Introduction: Load and Save to file, Document-View interaction inside the SDI. Continuing from the second article about sudoku.   Open the project in visual studio. From the class view select CSudokuDoc and double click to open the header …
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.
Suggested Courses

751 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