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. CallBack Definition.

CallBack Definition.

Scheduled Pinned Locked Moved C / C++ / MFC
questiontutorial
4 Posts 4 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.
  • N Offline
    N Offline
    Neelesh K J Jain
    wrote on last edited by
    #1

    Hello Friends, Please tell me what is meant by Call back function. How it works and an example? Thanks in advance. Neelesh K J Jain.

    A C A 3 Replies Last reply
    0
    • N Neelesh K J Jain

      Hello Friends, Please tell me what is meant by Call back function. How it works and an example? Thanks in advance. Neelesh K J Jain.

      A Offline
      A Offline
      Abhi Lahare
      wrote on last edited by
      #2

      Hi Neelesh, A CallBack function is called by Operating system. The classic example of a callback function is WndProc() function in "Hello World" sample found in any Win32 Programming book. Regards Abhi Lahare

      1 Reply Last reply
      0
      • N Neelesh K J Jain

        Hello Friends, Please tell me what is meant by Call back function. How it works and an example? Thanks in advance. Neelesh K J Jain.

        C Offline
        C Offline
        Chris Losinger
        wrote on last edited by
        #3

        1. you have two functions : FunctionA and FunctionB. 2. you call FunctionA with a pointer to FunctionB. 3. FunctionA calls FunctionB as part of its processing, usually in a loop. Software | Cleek

        1 Reply Last reply
        0
        • N Neelesh K J Jain

          Hello Friends, Please tell me what is meant by Call back function. How it works and an example? Thanks in advance. Neelesh K J Jain.

          A Offline
          A Offline
          Antony M Kancidrowski
          wrote on last edited by
          #4

          ...Additionally callback functions can be very useful in event notification purposes. Ant. I'm hard, yet soft.
          I'm coloured, yet clear.
          I'm fruity and sweet.
          I'm jelly, what am I? Muse on it further, I shall return!
          - David Walliams (Little Britain)

          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