Solved

Controlling Tab order for customized File Dialogs...

Posted on 1998-03-14
1
234 Views
Last Modified: 2010-04-10
Hi,
I have created a customized CFileDialog interface which I did by deriving a class from CFileDialog. I found out that the Tab Order is set only for the controls present on the file dialog. I don't seem to get tab stops for the controls present on my customized template. Can anyone tell me how to catch the tabs on my controls (such as buttons present on the child template) when the user hits the TAB button ?
0
Comment
Question by:mzafar
1 Comment
 
LVL 15

Accepted Solution

by:
Tommy Hui earned 120 total points
ID: 1183450
Do your controls have WS_TABSTOP on them?

The tabbing is determined by the dialog which walks down its children list. As long as your controls are children of the dialog, then they will be tabbed to if they have WS_TABSTOP as their style.
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say 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

Unlike C#, C++ doesn't have native support for sealing classes (so they cannot be sub-classed). At the cost of a virtual base class pointer it is possible to implement a pseudo sealing mechanism The trick is to virtually inherit from a base class…
Written by John Humphreys C++ Threading and the POSIX Library This article will cover the basic information that you need to know in order to make use of the POSIX threading library available for C and C++ on UNIX and most Linux systems.   [s…
The goal of the tutorial is to teach the user how to use functions in C++. The video will cover how to define functions, how to call functions and how to create functions prototypes. Microsoft Visual C++ 2010 Express will be used as a text editor an…
The viewer will learn additional member functions of the vector class. Specifically, the capacity and swap member functions will be introduced.

809 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