Visual C++ and MFC Programming 2nd Edition

(Martin Jones) #1

CHAPTER 14: CONTROLS FUNCTIONALITY......................................... Visual C++ and MFC Fundamentals Table of Contents



  1. Click an empty area on the dialog box to deselect everything.

  2. Click the lower Edit control. Then press and hold Shift

  3. Click the middle Edit control and click the top Edit control then release Shift

  4. On the Dialog toolbar, click the Align Left button

  5. Save everything and close the application


13.4.7..Tab Ordering........................................................................................


The controls you add to a form or a dialog box are positioned in a sequence that follows
the order they were added. When you add a control on the host that already has other
controls, regardless of the section or area you place the new control, it is sequentially
positioned at the end of the existing controls. If you do not fix it, the user would have a
hard time navigating the controls.

The sequence of controls navigation is called the tab order. While designing a form or a
dialog box, to change the sequential order of controls, on the main menu, click Layout or
Format and click Tab Order or press Ctrl + D.

Practical Learning: Controlling Tab Order



  1. On the main menu, click Layout (Visual C++ 6) or Format (Visual C++ 7) and click
    Tab Order

Free download pdf