Chapter 12: Dialog-Based Windows Visual C++ and MFC Fundamentals
- Display the dialog and click the Toggle Grid button
- Click the top Edit control. Then press and hold Ctrl
- Click the middle Edit control and click the bottom Edit control. Release Ctrl
- On the Dialog toolbar, click the Make Same Width button
13.4.6..Controls Positions................................................................................
The controls you position on a dialog box or a form assume their given place. Most of the
time, these positions are not practical. You can move them around to any positions of
your choice.
To move a control, click and drag it, while the mouse cursor is a cross , in the desired
direction until it reaches the intended position.
To move a group of controls, first select them. Then drag the selection to the desired
location.
To help with positioning the controls, Visual C++ provides the Dialog toolbar with the
following buttons:
Button Name Button Name Button Name
Align Left^ Align Tops^ Vertical^
Align Right
Align
Bottoms
Horizontal
Across
Down
Practical Learning: Moving Controls
- While the edit controls are still selected, on the Dialog toolbar, click the Down
button