# Making it Resizable

For each of the buttons OK, Cancel:

1. Right-click, choose Properties.
2. Set Moving Type to "Both".

For the button Run tool:

1. Right-click, choose Properties.
2. Set Moving Type to "Vertical".

For the display "custom control":

1. Right-click, choose Properties, and set Sizing Type to "Both".
2. Right-click again, choose Class Wizard...:
   1. Choose the Messages tab.
   2. Select WM_SIZE in the messages list.
   3. Click Add Handler.
   4. Click OK.