By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
457,930 Members | 1,424 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 457,930 IT Pros & Developers. It's quick & easy.

Traverse a list of all controls in a dialog

P: n/a
Hi!

I'm looking for a way to traverse all the controls on a dialog in the
order of the tabstop index. Note that I use unmanaged C++, so no
GetTabIndex function afaik.

The ALMOST perfect function for this looks like:
CWnd::GetNextDlgTabItem.

BUT...this function skips controls that are disabled (WS_DISABLED),
and that's a problem, because I want to traverse ALL controls.

So again in short: a way to traverse all controls on a dialog in the
tabstop index order, without skipping disabled ones.

Thank you very much for any directions on how to solve this!

Feb 9 '07 #1
Share this Question
Share on Google+
1 Reply


P: n/a
* SonOfGrey:
[off-topic]
The FAQ lists a number of groups that might be suitable for your
question. Which one depends on the platform and GUI framework you're
using. Most probably a group in the ms.* hierarchy (because most OT
posts are about Windows programming, so perhaps yours is also) or e.g.
[comp.os.ms-windows.programmer.win32] will be suitable.

Hth.,

- Alf

--
A: Because it messes up the order in which people normally read text.
Q: Why is it such a bad thing?
A: Top-posting.
Q: What is the most annoying thing on usenet and in e-mail?
Feb 9 '07 #2

This discussion thread is closed

Replies have been disabled for this discussion.