Dialog window help
-
Using Visual C++ 6.0 MFC in SDI application I have a view that includes a dialog window from which the user can select different options. I do not want the user to be able to close that window. When the view changes, that dialog window will close automatically. However, I noticed that when the window is displayed, if the user hits the "escape key" esc, the window disappears. How do I prevent that from happening? Thanks
-
Using Visual C++ 6.0 MFC in SDI application I have a view that includes a dialog window from which the user can select different options. I do not want the user to be able to close that window. When the view changes, that dialog window will close automatically. However, I noticed that when the window is displayed, if the user hits the "escape key" esc, the window disappears. How do I prevent that from happening? Thanks
-
Using Visual C++ 6.0 MFC in SDI application I have a view that includes a dialog window from which the user can select different options. I do not want the user to be able to close that window. When the view changes, that dialog window will close automatically. However, I noticed that when the window is displayed, if the user hits the "escape key" esc, the window disappears. How do I prevent that from happening? Thanks
See the FAQ: 7.4 How do I prevent a dialog from closing when the user presses Enter or Esc?[^]
--Mike-- Visual C++ MVP :cool: LINKS~! CP SearchBar v3.0 | C++ Forum FAQ "That's what's great about doing user interface work. No matter what you do, people will say that what you did was idiotic." -- Raymond Chen
-
See the FAQ: 7.4 How do I prevent a dialog from closing when the user presses Enter or Esc?[^]
--Mike-- Visual C++ MVP :cool: LINKS~! CP SearchBar v3.0 | C++ Forum FAQ "That's what's great about doing user interface work. No matter what you do, people will say that what you did was idiotic." -- Raymond Chen
That's a great link!