Solved

Setting the tab key

Posted on 2001-08-01
2
187 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

What Is Threat Intelligence?

Threat intelligence is often discussed, but rarely understood. Starting with a precise definition, along with clear business goals, is essential.

Join & Write a Comment

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: Database storage, where is the exe actually on the disc? Playing a game selected randomly (how to generate random numbers).  Error trapping with try..catch to help the code run even if something goes wrong. Continuing from the seve…
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.
You have products, that come in variants and want to set different prices for them? Watch this micro tutorial that describes how to configure prices for Magento super attributes. Assigning simple products to configurable: We assigned simple products…

707 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

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now