Skip to main content

Capturing Subdialogs

Some applications have subdialogs you can capture. For instance, in the Control Panel mouse applet, the ClickLock entry has a subdialog that's available to configure. That is, when you click its "Settings" button, a "Settings for ClickLock" subdialog appears, as shown In the figure shown.

crafting_the_user_interface_19_624x694

The figure shown. The ClickLock subdialog box.

Now that you know this, you can capture this subdialog. To do this, in DesignStudio, double-click the button. You will be asked if you want to convert the button to a subdialog, as shown in The figure shown.

crafting_the_user_interface_20_624x684

The figure shown. Capturing a subdiaglog button.

Click "Yes," and then click "OK," as shown In the figure shown. Next, open the subdialog you want to capture, as shown In the figure shown.

crafting_the_user_interface_21_624x218

The figure shown. The prompt to capture a subdialog.

crafting_the_user_interface_22

The figure shown. Selecting the subdialog button.

Select the target window (the subdialog) to capture it. When the capture is complete, you'll see the tab for the subdialog shown next to its parent tab, as shown In the figure shown.

crafting_the_user_interface_23

The figure shown. The new tab for the subdialog.

You can click back and forth between the parent tab (Mouse Properties) and the subdialog (Settings for ClickLock). Also, if you close the tab by clicking the X next to the subdialog, double-clicking the button that represents the subdialog will open up that tab again.