Skip to content

Commit 3eba43c

Browse files
author
msebolt
committed
touchups, acrolinx
1 parent e1911d0 commit 3eba43c

1 file changed

Lines changed: 6 additions & 7 deletions

File tree

‎docs/windows/dialog-editor-states-guides-and-grids.md‎

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ The **Guide Settings** dialog box has the following properties:
2222
|---|---|
2323
|**Layout guides**|Displays the settings for the layout guides.|
2424
|**None**|Hides layout tools.|
25-
|**Rulers and guides**|When enabled, adds rulers to the layout tools; guides can be placed in the rulers. The default guides are the margins, which can be moved by dragging. Select the rulers to place a guide. Controls "snap" to guides when the controls are moved over or next to them. Controls also move with a guide once they're attached to it. When a control is attached to a guide on each side, and a guide is moved, the control is resized.|
25+
|**Rulers and guides**|When enabled, adds rulers to the layout tools; guides can be placed in the rulers. The default guides are the margins, which can be moved by dragging. Select the rulers to place a guide. Controls "snap" to guides when the controls are moved over or next to them. Controls also move with a guide once they're attached to it. When a control is attached to a guide on each side, and a guide is moved, the control resizes.|
2626
|**Grid**|Creates a layout grid. New controls will automatically align to the grid.|
2727
|**Grid spacing**|Displays the settings for the grid spacing in dialog box units (DLUs).|
2828
|**Width: DLUs**|Sets the width of the layout grid in DLUs. A horizontal DLU is the average width of the dialog box font divided by four.|
@@ -32,7 +32,7 @@ For information on adding resources to managed projects, see [Resources in Deskt
3232

3333
## Create and set guides and margins
3434

35-
Whether you're moving controls, adding controls, or rearranging a current layout, guides can help you align controls accurately within a dialog box. Guides appear as blue dotted lines across the dialog box displayed in the editor and corresponding arrows in the rulers (at the top and along the left side of the **Dialog** editor).
35+
Whether you're moving controls, adding controls, or rearranging a current layout, guides can help you align controls accurately within a dialog box. Guides appear as blue dotted lines across the dialog box displayed in the editor and corresponding arrows in the rulers at the top and along the left side of the **Dialog** editor.
3636

3737
When you create a dialog box, four margins are provided. Margins are modified guides, appearing as blue dotted lines.
3838

@@ -52,7 +52,7 @@ When you create a dialog box, four margins are provided. Margins are modified gu
5252

5353
\- or -
5454

55-
Drag the corresponding arrow off the ruler.
55+
Drag the corresponding arrow off the ruler.
5656

5757
### To move margins
5858

@@ -62,7 +62,7 @@ When you create a dialog box, four margins are provided. Margins are modified gu
6262

6363
## Align controls on a guide
6464

65-
The sizing handles of controls snap to guides when the controls are moved, and guides snap to controls (if there are no controls previously snapped to the guide). When a guide is moved, controls that are snapped to it move as well. Controls snapped to more than one guide are resized when one of the guides is moved.
65+
The sizing handles of controls snap to guides when the controls are moved, and guides snap to controls if there are no controls previously snapped to the guide. When a guide is moved, controls that are snapped to it move as well. Controls snapped to more than one guide are resized when one of the guides is moved.
6666

6767
The tick marks in the rulers that determine the spacing of guides and controls are defined by dialog units (DLUs). A DLU is based on the size of the dialog box font, normally 8-point MS Shell Dlg. A horizontal DLU is the average width of the dialog box font divided by four. A vertical DLU is the average height of the font divided by eight.
6868

@@ -105,7 +105,7 @@ You can use special keys in conjunction with the mouse to disable the snapping e
105105
106106
\- or -
107107

108-
On the **Format** menu, select **Toggle Guides**.
108+
On the **Format** menu, select **Toggle Guides**.
109109

110110
## Modify the layout grid
111111

@@ -123,14 +123,13 @@ When you're placing or arranging controls in a dialog box, you can use the layou
123123

124124
1. From the **Format** menu, choose **Guide Settings**.
125125

126-
1. In the **Guide Settings** dialog box, type the height and width in DLUs for the cells in the grid. The minimum height or width is 4 DLUs. For more information on DLUs, see [The Arrangement of Controls on Dialog Boxes](../windows/arrangement-of-controls-on-dialog-boxes.md).
126+
1. In the **Guide Settings** dialog box, type the height and width in DLUs for the cells in the grid. The minimum height or width is 4 DLUs. For more information on DLUs, see [Arrangement of Controls on Dialog Boxes](../windows/arrangement-of-controls-on-dialog-boxes.md).
127127

128128
## Requirements
129129

130130
Win32
131131

132132
## See also
133133

134-
[Arrangement of Controls on Dialog Boxes](../windows/arrangement-of-controls-on-dialog-boxes.md)<br/>
135134
[Controls in Dialog Boxes](../windows/controls-in-dialog-boxes.md)<br/>
136135
[Controls (MFC)](../mfc/controls-mfc.md)<br/>

0 commit comments

Comments
 (0)