Click here to Skip to main content
15,916,693 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: callback functions Pin
S van Leent30-Oct-02 8:55
S van Leent30-Oct-02 8:55 
GeneralRe: callback functions Pin
Chris Losinger30-Oct-02 8:57
professionalChris Losinger30-Oct-02 8:57 
GeneralRe: callback functions Pin
S van Leent30-Oct-02 9:36
S van Leent30-Oct-02 9:36 
GeneralRe: callback functions Pin
Chris Losinger30-Oct-02 9:39
professionalChris Losinger30-Oct-02 9:39 
GeneralRe: callback functions Pin
S van Leent30-Oct-02 8:54
S van Leent30-Oct-02 8:54 
GeneralSnippet Pin
Chris Losinger30-Oct-02 9:41
professionalChris Losinger30-Oct-02 9:41 
GeneralRe: Snippet Pin
devvvy30-Oct-02 9:57
devvvy30-Oct-02 9:57 
GeneralWondering Why,... Pin
ursus zeta30-Oct-02 11:10
ursus zeta30-Oct-02 11:10 
Thanks, norm,...I was wondering about the CALLBACKs too,...they seem like an anachronism. But, you see them used in virtually all windows code,...so, I assume that there must be an advantage to using this function. I'm wondering,...what exactly does the Visual C++ compiler do with them?
In Petzold's Programming Windows, the author states: The call-back function is a function in your program that is called from Windows. The best-known example of a CALLBACK function is the program's window procedure. You tell Windows the address of the windows procedure when registering the window class, and then Windows calls the function when sending messages to the program. Like a window procedure, a call-back function must be defined as CALLBACK because it is called by Windows from outside the code space of the program.
You know, I love geek-speak, but I'm not sure I understand it. Laugh | :laugh:
GeneralRe: Wondering Why,... Pin
Chris Losinger30-Oct-02 11:28
professionalChris Losinger30-Oct-02 11:28 
GeneralRe: Wondering Why,... Pin
ursus zeta30-Oct-02 12:33
ursus zeta30-Oct-02 12:33 
GeneralRe: Wondering Why,... Pin
ian mariano30-Oct-02 21:51
ian mariano30-Oct-02 21:51 
GeneralDeletting EOF Pin
José Luis Sogorb30-Oct-02 8:34
José Luis Sogorb30-Oct-02 8:34 
GeneralRe: Deletting EOF Pin
Chris Losinger30-Oct-02 8:52
professionalChris Losinger30-Oct-02 8:52 
QuestionHow to check duplicate line in text file? Pin
ooosawaddee330-Oct-02 8:25
ooosawaddee330-Oct-02 8:25 
AnswerRe: How to check duplicate line in text file? Pin
Maximilien30-Oct-02 8:32
Maximilien30-Oct-02 8:32 
AnswerRe: How to check duplicate line in text file? Pin
Le centriste30-Oct-02 8:41
Le centriste30-Oct-02 8:41 
AnswerRe: How to check duplicate line in text file? Pin
Christian Graus30-Oct-02 10:32
protectorChristian Graus30-Oct-02 10:32 
GeneralMultiple Dialog Boxes Pin
Ayush30-Oct-02 7:19
Ayush30-Oct-02 7:19 
GeneralRe: Multiple Dialog Boxes Pin
dabs30-Oct-02 7:36
dabs30-Oct-02 7:36 
GeneralRe: Multiple Dialog Boxes Pin
#realJSOP30-Oct-02 7:38
professional#realJSOP30-Oct-02 7:38 
GeneralRe: Multiple Dialog Boxes Pin
Ayush30-Oct-02 7:55
Ayush30-Oct-02 7:55 
GeneralCEPB 2.12 Compiler Refuses to Generate LIB File for DLL Pin
#realJSOP30-Oct-02 7:18
professional#realJSOP30-Oct-02 7:18 
GeneralRe: WCHAR* Pin
Stephane Rodriguez.30-Oct-02 7:13
Stephane Rodriguez.30-Oct-02 7:13 
GeneralRe: WCHAR* Pin
Christian Graus30-Oct-02 10:35
protectorChristian Graus30-Oct-02 10:35 
GeneralGODDAMN! with the bmp to jpg! please help! Pin
int01h30-Oct-02 7:03
int01h30-Oct-02 7:03 

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.