I\'ve been used to thinking that WM_CREATE is the first message a window receives. However, when testing this assumption on a top-level window, it turns out to be false. In
You can use spy++ which comes with visual studio to see what messages are generated when the application or window is started.