The WM_NCCREATE message is sent prior to the WM_CREATE message when a window is first created.
WM_NCCREATE lpcs = (LPCREATESTRUCT) lParam; // structure with creation data
If an application processes this message, it should return TRUE to continue creation of the window. If the application returns FALSE, the CreateWindow or CreateWindowEx function will return a NULL handle.
CreateWindow, CreateWindowEx, DefWindowProc, CREATESTRUCT, WM_CREATE
file: /Techref/os/win/api/win32/mess/src/msg26_3.htm, 1KB, , updated: 2000/4/7 11:20, local time: 2024/11/27 08:12,
18.188.68.115: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://massmind.org/Techref/os/win/api/win32/mess/src/msg26_3.htm"> WM_NCCREATE</A> |
Did you find what you needed? |
Welcome to massmind.org! |
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! |
.