Solved

Setting the tab key

Posted on 2001-08-01
2
191 Views
Last Modified: 2013-11-20
I have bunch of edit boxes in my application and a listbox. I want the tab key to be associated with listbox. Meaning if I press tab from anywhere, it should just go to the listbox.  Can someone please tell me what to do:)

I know about the following function
BOOL SetTabStops( const int& cxEachStop );

I just don't know how to use it to do what I want.
mejaz01
0
Comment
Question by:mejaz01
2 Comments
 
LVL 12

Accepted Solution

by:
migel earned 100 total points
ID: 6340608
Hi!
just remove WS_TABSTOP style from all controls in the dialog except listbox
PS.
SetTabStops is not usefull for you since it works only with editboxes and listboxes text (just kind of formatting.
0
 

Author Comment

by:mejaz01
ID: 6341687
Thanx man!
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

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 51
how do i create updater to My Activex application? 3 94
method notes when mouse over in eclipse 5 87
if loop in java 3 152
Introduction: Finishing the grid – keyboard support for arrow keys to manoeuvre, entering the numbers.  The PreTranslateMessage function is to be used to intercept and respond to keyboard events. Continuing from the fourth article about sudoku. …
Introduction: Dialogs (1) modal - maintaining the database. Continuing from the ninth article about sudoku.   You might have heard of modal and modeless dialogs.  Here with this Sudoku application will we use one of each type: a modal dialog …
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 video shows how to use Hyena, from SystemTools Software, to bulk import 100 user accounts from an external text file. View in 1080p for best video quality.

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