Thread: Windows Messages help

  1. #1
    Registered User
    Join Date
    Jul 2002

    Windows Messages help

    What is the message for when a program first starts ?

  2. #2
    Registered User
    Join Date
    Jun 2002
    WM_CREATE - window
    WM_INITDIALOG - dialog

  3. #3
    looking for the truth moemen ahmed's Avatar
    Join Date
    Feb 2002


    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 !!

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Sending windows messages
    By Ideswa in forum Windows Programming
    Replies: 2
    Last Post: 03-02-2006, 01:27 PM
  2. Menu Item Caption - /a for right aligned Accelerator?
    By JasonD in forum Windows Programming
    Replies: 6
    Last Post: 06-25-2003, 11:14 AM
  3. Windows Rant followed by installation question
    By confuted in forum A Brief History of
    Replies: 12
    Last Post: 06-21-2003, 04:42 PM
  4. Codec Bitrates?
    By gvector1 in forum C# Programming
    Replies: 2
    Last Post: 06-16-2003, 08:39 AM
  5. Manipulating the Windows Clipboard
    By Johno in forum Windows Programming
    Replies: 2
    Last Post: 10-01-2002, 09:37 AM