Prompt user to save when closing app

后端 未结 5 974
耶瑟儿~
耶瑟儿~ 2021-01-13 09:12

I\'m writing what boils down to a document editor. When the application is closing, I need to prompt the user to save changes. This is easy enough. My question is when is it

5条回答
  •  执笔经年
    2021-01-13 09:54

    I think TaskManagerClosing should be the only reason that does not prompt, if any. Personally, I would want to be prompted in the event of WindowsShutDown. If I'm shutting down Windows with an unsaved document somewhere, it means I've forgotten about it.

提交回复
热议问题