创建窗体 ...
1. WM_GETMINMAXINFO
2. WM_NCCREATE
3. WM_NCCALCSIZE
4. WM_CREATE
创建完毕.
显示窗体 ...
1. WM_SHOWWINDOW
2. WM_WINDOWPOSCHANGING
3. WM_WINDOWPOSCHANGING
4. WM_ACTIVATEAPP
5. WM_NCACTIVATE
6. WM_GETTEXT
7. WM_ACTIVATE
8. WM_SETFOCUS
9. WM_NCPAINT
10. WM_GETTEXT
11. WM_ERASEBKGND
12. WM_WINDOWPOSCHANGED
13. WM_SIZE
14. WM_MOVE
显示完毕.
更新窗体...
WM_PAINT
更新结束.
//当点击"最小化"......
1. WM_NCLBUTTONDOWN
2. WM_CAPTURECHANGED
3. WM_SYSCOMMAND
4. WM_GETMINMAXINFO
5. WM_GETTEXT
6. WM_WINDOWPOSCHANGING
7. WM_GETMINMAXINFO
8. WM_NCCALCSIZE
9. WM_NCPAINT
10. WM_GETTEXT
11. WM_ERASEBKGND
12. WM_WINDOWPOSCHANGED
13. WM_MOVE
14. WM_SIZE
//点击"最大化"..........
1. WM_NCLBUTTONDOWN
2. WM_CAPTURECHANGED
3. WM_SYSCOMMAND
4. WM_GETTEXT
5. WM_WINDOWPOSCHANGING
6. WM_GETMINMAXINFO
7. WM_NCCALCSIZE
8. WM_NCPAINT
9. WM_GETTEXT
10. WM_ERASEBKGND
11. WM_WINDOWPOSCHANGED
12. WM_MOVE
13. WM_SIZE
//点击“关闭”.......
1. WM_NCLBUTTONDOWN
2. WM_CAPTURECHANGED
3. WM_SYSCOMMAND
4. WM_CLOSE
5. WM_WINDOWPOSCHANGING
6. WM_WINDOWPOSCHANGED
7. WM_NCACTIVATE
8. WM_ACTIVATE
9. WM_ACTIVATEAPP
10. WM_KILLFOCUS
11. WM_DESTROY
12. WM_NCDESTROY