#202 – An Example of Modal/Modeless Dialogs

You can see an example of both modal and modeless dialogs if you run the Windows Notepad application.

After starting the Notepad application, enter some text and then bring up the Find dialog using Edit | Find.  You’ll notice that you can switch back and forth between the Find dialog and the main Notepad window.  The Find dialog is a modeless dialog, since you can still interact with the main application.

Now close the Find dialog and open the Print dialog using File | Print.  While the Print dialog is open, you’ll notice that you can no longer interact with the main Notepad window.  The Print dialog is a modal dialog.

About these ads

About Sean
Software developer in the Twin Cities area, passionate about .NET technologies. Equally passionate about my own personal projects related to family history and preservation of family stories and photos.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Follow

Get every new post delivered to your Inbox.

Join 356 other followers

%d bloggers like this: