• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 199
  • Last Modified:

Setting the tab key

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
mejaz01
Asked:
mejaz01
1 Solution
 
migelCommented:
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
 
mejaz01Author Commented:
Thanx man!
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Tackle projects and never again get stuck behind a technical roadblock.
Join Now