What is the message for when a program first starts ?
What is the message for when a program first starts ?
WM_CREATE - window
WM_INITDIALOG - dialog
I would like to add that when your program starts it call the function WinMain() which calls other functions to do the work of registering the windows ,....etc
you can put your code to be executed in the begining of the application in the function CWinapp::InitInstance() , which will be called by WinMain(), even before CWinApp::Run() is called( Run() is the function that allows your program to recieve and send messages from and to the system )
I hope my addition ll help
Programming is a high logical enjoyable art for both programer and user !!