Tab order of controls placed in a dialog box.


Sometimes, especially when we are using spin button controls or radio buttons, the order in which we are creating controls is very important. Spin button controls considers the control created just before it as its buddy whereas radio buttons to be grouped must have ids in sequence.  Any small mistake in creating controls may result in unpredictable results. However, we can correct this mistake by changing tab order of controls in Resource Editor. For this, open dialog in Resource Editor, select ‘Tab order’ menu item from ‘Layout’ menu. It will display number in blue box for every control which is the tab order of controls. Now, if you click a control that will become first in the tab order, clicking another control will make it second and so on.

This entry was posted in MFC and tagged , . Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>