Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
What is the default behavior of the close button and how do I customize it? Specifically, I want to exit from a main loop.
您可以处理wx.CloseEvent。