?
Solved

Call back function

Posted on 2003-02-24
4
Medium Priority
?
184 Views
Last Modified: 2010-04-17
what is a call back function when and where can we use it.
0
Comment
Question by:vijaka
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
4 Comments
 

Accepted Solution

by:
StonedRaider earned 100 total points
ID: 8006948
it is a normal funcion that windows will call for you.
you can use it for enumerations like:
EnumWindows() function or EnumChildWindows() function, etc
0
 

Assisted Solution

by:Shmarya
Shmarya earned 100 total points
ID: 8007053
Callback functions are fairly simple in concept:

When you issue an API command that needs to collect data, or do some process, before returning to you, you need some way for the API process to let you know when it is done. Enter Callback Functions!

Windows API callback functions allow you to issue Asynchronous API commands and receive notification in the form of a certain method (the address of which you pass in the original API call) being called when that process completes. This allows you to, for example, ask windows for an Enumeration of all windows (using EnumWindows) and return control to your UI until windows responds.

I hope this helped.
0
 

Expert Comment

by:CleanupPing
ID: 9447554
vijaka:
This old question needs to be finalized -- accept an answer, split points, or get a refund.  For information on your options, please click here-> http:/help/closing.jsp#1 
EXPERTS:
Post your closing recommendations!  No comment means you don't care.
0

Featured Post

Want to be a Web Developer? Get Certified Today!

Enroll in the Certified Web Development Professional course package to learn HTML, Javascript, and PHP. Build a solid foundation to work toward your dream job!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Whether you've completed a degree in computer sciences or you're a self-taught programmer, writing your first lines of code in the real world is always a challenge. Here are some of the most common pitfalls for new programmers.
In this post we will learn how to make Android Gesture Tutorial and give different functionality whenever a user Touch or Scroll android screen.
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…
Starting up a Project

762 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question