The WM_CLOSE message is sent as a signal that a window or an application should terminate.
WM_CLOSE
This message has no parameters.
If an application processes this message, it should return zero.
The DefWindowProc function calls the DestroyWindow function to destroy the window.
An application can prompt the user for confirmation, prior to destroying a window, by processing the WM_CLOSE message and calling the DestroyWindow function only if the user confirms the choice.
file: /Techref/os/win/api/win32/mess/src/msg22_16.htm, 1KB, , updated: 2000/4/7 11:20, local time: 2024/11/24 21:15,
3.145.164.47:LOG IN
|
©2024 These pages are served without commercial sponsorship. (No popup ads, etc...).Bandwidth abuse increases hosting cost forcing sponsorship or shutdown. This server aggressively defends against automated copying for any reason including offline viewing, duplication, etc... Please respect this requirement and DO NOT RIP THIS SITE. Questions? <A HREF="http://techref.massmind.org/techref/os/win/api/win32/mess/src/msg22_16.htm"> WM_CLOSE</A> |
Did you find what you needed? |
Welcome to massmind.org! |
Welcome to techref.massmind.org! |
.