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 12:20, local time: 2025/3/15 16:58,
3.144.39.40:LOG IN
|
©2025 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://ecomorder.com/techref/os/win/api/win32/mess/src/msg22_16.htm"> WM_CLOSE</A> |
Did you find what you needed? |
Welcome to ecomorder.com! |
Ashley Roll has put together a really nice little unit here. Leave off the MAX232 and keep these handy for the few times you need true RS232! |
.