Quitting an application
-
Hi, I want to know, in a Doc/View MFC application, where is the place to map a message to quitting an application by the File menu and by the X button at the top right of a window ? Thanks. Claude
-
Hi, I want to know, in a Doc/View MFC application, where is the place to map a message to quitting an application by the File menu and by the X button at the top right of a window ? Thanks. Claude
Hi,
WM_CLOSE
would be posted when the X button is clicked or file->exit is chosen. If you can explain your what you're trying to achieve, someone may suggest a better way out.It is a crappy thing, but it's life -^ Carlo Pallini
-
Hi,
WM_CLOSE
would be posted when the X button is clicked or file->exit is chosen. If you can explain your what you're trying to achieve, someone may suggest a better way out.It is a crappy thing, but it's life -^ Carlo Pallini
You can also use WM_SYSCOMMAND/SC_CLOSE.
-
You can also use WM_SYSCOMMAND/SC_CLOSE.
Please reply to the person who asked the query.
It is a crappy thing, but it's life -^ Carlo Pallini
-
Please reply to the person who asked the query.
It is a crappy thing, but it's life -^ Carlo Pallini
K, will take care about it