Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. life-cycle of a typical MFC program

life-cycle of a typical MFC program

Scheduled Pinned Locked Moved C / C++ / MFC
c++help
3 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Offline
    S Offline
    Scorpio
    wrote on last edited by
    #1

    Hello everybody I am very sorry to post this type of questions on this forum but believe me its only your help that will clarify all my doubts. After reading some articles on the forum I concluded life-cycle of a typical MFC program as below in sequence. 1. WinMainCRTStartup 2. WinMain 3. AfxWinMain 4. AfxWinInit 5. InitApplication 6. InitInstance Global RUN function is embeded in theApp (Global Object of my Application) which handels all the default windows messages. If I am wrong please correct me or give me a link where I can find more info about this. Anger Is Only One Letter Short Of Danger

    N N 2 Replies Last reply
    0
    • S Scorpio

      Hello everybody I am very sorry to post this type of questions on this forum but believe me its only your help that will clarify all my doubts. After reading some articles on the forum I concluded life-cycle of a typical MFC program as below in sequence. 1. WinMainCRTStartup 2. WinMain 3. AfxWinMain 4. AfxWinInit 5. InitApplication 6. InitInstance Global RUN function is embeded in theApp (Global Object of my Application) which handels all the default windows messages. If I am wrong please correct me or give me a link where I can find more info about this. Anger Is Only One Letter Short Of Danger

      N Offline
      N Offline
      Nibu babu thomas
      wrote on last edited by
      #2

      Scorpio  wrote:

      Hello everybody I am very sorry to post this type of questions on this forum but believe me its only your help that will clarify all my doubts. After reading some articles on the forum I concluded life-cycle of a typical MFC program as below in sequence. 1. WinMainCRTStartup 2. WinMain 3. AfxWinMain 4. AfxWinInit 5. InitApplication 6. InitInstance Global RUN function is embeded in theApp (Global Object of my Application) which handels all the default windows messages. If I am wrong please correct me or give me a link where I can find more info about this.

      This article by Nishant Sivakumar[^] should help you. :)


      Nibu thomas A Developer Programming tips[^]  My site[^]

      1 Reply Last reply
      0
      • S Scorpio

        Hello everybody I am very sorry to post this type of questions on this forum but believe me its only your help that will clarify all my doubts. After reading some articles on the forum I concluded life-cycle of a typical MFC program as below in sequence. 1. WinMainCRTStartup 2. WinMain 3. AfxWinMain 4. AfxWinInit 5. InitApplication 6. InitInstance Global RUN function is embeded in theApp (Global Object of my Application) which handels all the default windows messages. If I am wrong please correct me or give me a link where I can find more info about this. Anger Is Only One Letter Short Of Danger

        N Offline
        N Offline
        NiceNaidu fo
        wrote on last edited by
        #3

        Check this Link for the LifeCycle of a MFC Program http://www.codeproject.com/cpp/mfcprogflow.asp[^] Appu.. "If you judge people, you have no time to love them."

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups