You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 3eba43c
Browse filesBrowse the repository at this point in the historyBrowse files
Copy file name to clipboardExpand all lines: docs/windows/dialog-editor-states-guides-and-grids.md
+6-7Lines changed: 6 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -22,7 +22,7 @@ The **Guide Settings** dialog box has the following properties:
22
22
|---|---|
23
23
|**Layout guides**|Displays the settings for the layout guides.|
24
24
|**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.|
26
26
|**Grid**|Creates a layout grid. New controls will automatically align to the grid.|
27
27
|**Grid spacing**|Displays the settings for the grid spacing in dialog box units (DLUs).|
28
28
|**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
32
32
33
33
## Create and set guides and margins
34
34
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.
36
36
37
37
When you create a dialog box, four margins are provided. Margins are modified guides, appearing as blue dotted lines.
38
38
@@ -52,7 +52,7 @@ When you create a dialog box, four margins are provided. Margins are modified gu
52
52
53
53
\- or -
54
54
55
-
Drag the corresponding arrow off the ruler.
55
+
Drag the corresponding arrow off the ruler.
56
56
57
57
### To move margins
58
58
@@ -62,7 +62,7 @@ When you create a dialog box, four margins are provided. Margins are modified gu
62
62
63
63
## Align controls on a guide
64
64
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.
66
66
67
67
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.
68
68
@@ -105,7 +105,7 @@ You can use special keys in conjunction with the mouse to disable the snapping e
105
105
106
106
\- or -
107
107
108
-
On the **Format** menu, select **Toggle Guides**.
108
+
On the **Format** menu, select **Toggle Guides**.
109
109
110
110
## Modify the layout grid
111
111
@@ -123,14 +123,13 @@ When you're placing or arranging controls in a dialog box, you can use the layou
123
123
124
124
1. From the **Format** menu, choose **Guide Settings**.
125
125
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).
127
127
128
128
## Requirements
129
129
130
130
Win32
131
131
132
132
## See also
133
133
134
-
[Arrangement of Controls on Dialog Boxes](../windows/arrangement-of-controls-on-dialog-boxes.md)<br/>
135
134
[Controls in Dialog Boxes](../windows/controls-in-dialog-boxes.md)<br/>
0 commit comments