WM_CREATE

Sent when an application requests that a window be created by calling the CreateWindowEx or CreateWindow 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.

在窗口被创建之后显示之前,窗口会收到这个消息。

WM_INITDIALOG

Sent to the dialog box procedure immediately before a dialog box is displayed. Dialog box procedures typically use this message to initialize controls and carry out any other initialization tasks that affect the appearance of the dialog box.

在对话框被显示之前马上发送给对话框。


watermelon
179 声望7 粉丝

小技能:C++,Python,Sqlite,WTL,Linux,Nginx,Windows,MFC