windows messages
WM_CREATE
What links here?
The WM_CREATE message is sent when an application requests that a window be created by calling the CreateWindow or CreateWindowEx function. (The message is sent before the function returns.) The window procedure of the new window receives this message after the window is created, but before the window becomes visible.

A window receives this message through its WindowProc function.

Parameters

Return Value
If an application processes this message, it should return zero to continue creation of the window. If the application returns –1, the window is destroyed and the CreateWindowEx or CreateWindow function returns a NULL handle. Prototype for Message Handler
int on_create(HWND hwnd, LPCREATESTRUCT create_struct_pointer)
{


}


This should return 0 for success, and -1 in case of a failure.

If you use the HANDLE_WM_CREATE macro, this function should return TRUE for success, and FALSE for failure.
programming - windows - WM_CREATE
Topical Bible - God's calling of believers
programming:microchip pics:pic assembly language
MC6802 - instruction set - Branch to Subroutine
programming - C - function feof
file formats - PDF - literal strings
programming - C - ctime
filename:programming - windows - WM_CREATE
filename:programming%20%2D%20windows%20%2D%20WM_CREATE
last edit:December 03 2012 20:17:02 (4183 days ago)
ct = 1716057318.000000 = May 18 2024 14:35:18
ft = 1354583822.000000 = December 03 2012 20:17:02
dt = 361473496.000000