Click here to Skip to main content
15,913,685 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralVC++ -VB access Pin
RaajaOfSelf10-Jul-03 23:08
RaajaOfSelf10-Jul-03 23:08 
GeneralProgress bar Pin
Member 42425910-Jul-03 22:58
Member 42425910-Jul-03 22:58 
GeneralRe: Progress bar Pin
David Crow11-Jul-03 2:59
David Crow11-Jul-03 2:59 
Generalcasting problem Pin
Jerome Conus10-Jul-03 22:57
Jerome Conus10-Jul-03 22:57 
GeneralRe: casting problem Pin
iceage10-Jul-03 23:09
iceage10-Jul-03 23:09 
GeneralRe: casting problem Pin
jhwurmbach10-Jul-03 23:12
jhwurmbach10-Jul-03 23:12 
Generalcallback question Pin
andyg.10110-Jul-03 22:27
andyg.10110-Jul-03 22:27 
GeneralRe: callback question Pin
Ryan Binns10-Jul-03 22:36
Ryan Binns10-Jul-03 22:36 
A callback function is one whose pointer you give to an object or function, and it gets called by the other object or function when a certain condition arises.

For example, the SetTimer() Win32 API function can take a pointer to a function that gets called when the timer period elapses. The function that you pass to SetTimer and gets called is the callback function.

A slightly different example is used with the EnumFontFamilies() function. You pass a pointer to a callback function, and the callback function gets called once for every font that matches the criteria specified in the call to EnumFontFamiles(). In this case, the callback function is called as many times as needed before the EnumFontFamilies() function returns, as opposed to SetTimer() above, where the callback function is called sometime in the future.

Hope this explains it more Smile | :)

Ryan
"Punctuality is only a virtue for those who aren't smart enough to think of good excuses for being late" John Nichol "Point Of Impact"

GeneralRe: callback question Pin
andyg.10110-Jul-03 23:00
andyg.10110-Jul-03 23:00 
GeneralRe: callback question Pin
Ryan Binns10-Jul-03 23:43
Ryan Binns10-Jul-03 23:43 
GeneralSimple HTML editor Pin
Jeremy Pullicino10-Jul-03 22:19
Jeremy Pullicino10-Jul-03 22:19 
GeneralRe: Simple HTML editor Pin
Jeremy Pullicino10-Jul-03 22:47
Jeremy Pullicino10-Jul-03 22:47 
GeneralRe: Simple HTML editor Pin
Rage10-Jul-03 22:58
professionalRage10-Jul-03 22:58 
GeneralRe: Simple HTML editor Pin
jmmolina16-Jul-03 23:19
jmmolina16-Jul-03 23:19 
GeneralCRT library? error C1083 Pin
DaveE9th10-Jul-03 21:50
DaveE9th10-Jul-03 21:50 
GeneralRe: CRT library? error C1083 Pin
Kippesoep10-Jul-03 21:59
Kippesoep10-Jul-03 21:59 
GeneralRe: CRT library? error C1083 Pin
DaveE9th10-Jul-03 22:09
DaveE9th10-Jul-03 22:09 
GeneralRe: CRT library? error C1083 Pin
Kippesoep10-Jul-03 22:25
Kippesoep10-Jul-03 22:25 
GeneralRe: CRT library? error C1083 Pin
DaveE9th11-Jul-03 7:11
DaveE9th11-Jul-03 7:11 
Generalthe problem to use OpenDriver in DLL Pin
gdzfy10-Jul-03 21:43
gdzfy10-Jul-03 21:43 
GeneralRe: the problem to use OpenDriver in DLL Pin
Ryan Binns10-Jul-03 22:38
Ryan Binns10-Jul-03 22:38 
GeneralRe: the problem to use OpenDriver in DLL Pin
gdzfy11-Jul-03 2:15
gdzfy11-Jul-03 2:15 
GeneralRe: the problem to use OpenDriver in DLL Pin
Ryan Binns11-Jul-03 2:37
Ryan Binns11-Jul-03 2:37 
GeneralRe: the problem to use OpenDriver in DLL Pin
gdzfy11-Jul-03 2:49
gdzfy11-Jul-03 2:49 
GeneralRe: the problem to use OpenDriver in DLL Pin
Ryan Binns11-Jul-03 2:59
Ryan Binns11-Jul-03 2:59 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.