Dialog boxes and controls can be resized either by directly manipulating them with the mouse or by using the Information dialog box. Certain controls can also be resized automatically to fit the text displayed on them.
Resize an item with the mouse. |
|
Resize an item with the Information dialog box. |
|
Resize selected controls automatically. |
Resize an Item with the Mouse
Click the
button on the Dialog Editor toolbar.Place the cursor over a border or corner of the dialog box or a control..
Hold the the left-mouse button down and drag the border or corner until the dialog box or control reaches the desired size.
Resize an Item with the Information Dialog Box
Open the Information dialog box for the dialog box or a selected control.
Change the Width and Height settings in the Size group box.
Click Enter on the keyboard.
or pressResize Selected Items Automatically
The following controls can be resized automatically.
Option button
Text control
Push button
Check box
Text box
Click the
button on the Dialog Editor toolbar.Select the control to be resized.
Press F2 on the keyboard..
Result: The borders of the control will expand or contract to fit the text displayed on it.
Notes
Picture controls and picture button controls must be resized manually.
Windows metafiles always expand or contract proportionally to fit within the picture control or picture button control containing them.
Windows bitmaps are of a fixed size.
If you place a bitmap in a control that is:
Smaller than the bitmap, the bitmap is clipped off on the right and bottom.
Larger than the bitmap, the bitmap is centered within the borders of the control.
3. Edit a custom dialog box. |