Wednesday, March 02, 2005

Modal and Modeless dialogs

Try this.
  1. Open Notepad. Type in 'The quick brown fox jumps over the lazy dog'.
  2. Hit Ctrl+Home
  3. Open the Find dialog under the Edit menu. DO NOT dismiss this dialog.
  4. Keeping the find dialog open, Click 'Open...' under the File menu.
  5. Click 'No' when it prompts with 'Do you want to save changes?'.
  6. Now click on the Find dialog and then the 'Find Next' button.

It works!!

Now is this a bug? Atleast, is this 'expected' behaviour?

This is NOT a Notepad specific thing. This happens to any set of windows when you open one modeless dialog and one modal dialog having a common owner. You CAN access the modeless dialog even when the modal dialog is running.

No comments:

About Me

My photo
C/C++ Programmer doing CAD on Windows. Some web development experience. Bangalorean.

Blog Archive