Solved

Setting the tab key

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

[Webinar] Code, Load, and Grow

Managing multiple websites, servers, applications, and security on a daily basis? Join us for a webinar on May 25th to learn how to simplify administration and management of virtual hosts for IT admins, create a secure environment, and deploy code more effectively and frequently.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
How do you programatically show and hide the Windows 10 On-Screen-Keyboard? 3 1,012
List out all word 7 354
wordmultiple challenge 12 169
ERP and the other system process verification 5 25
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. …
If you use Adobe Reader X it is possible you can't open OLE PDF documents in the standard. The reason is the 'save box mode' in adobe reader X. Many people think the protected Mode of adobe reader x is only to stop the write access. But this fe…
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.

732 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