Click here to Skip to main content
15,887,683 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralOfficeaddin IDTExtensibility2 Pin
shinay22-May-04 22:33
shinay22-May-04 22:33 
GeneralRe: Officeaddin IDTExtensibility2 Pin
shinay22-May-04 22:34
shinay22-May-04 22:34 
QuestionXML info from web 2 richtextbox ? Pin
MrXs22-May-04 21:30
MrXs22-May-04 21:30 
AnswerRe: XML info from web 2 richtextbox ? Pin
Andrew Quinn AUS24-May-04 0:59
Andrew Quinn AUS24-May-04 0:59 
GeneralHelp:CallBack function Pin
curiosity537422-May-04 21:01
curiosity537422-May-04 21:01 
GeneralRe: Help:CallBack function Pin
John R. Shaw23-May-04 2:20
John R. Shaw23-May-04 2:20 
GeneralRe: Help:CallBack function Pin
Member 42102523-May-04 7:57
Member 42102523-May-04 7:57 
GeneralRe: Help:CallBack function Pin
Blake Miller25-May-04 15:38
Blake Miller25-May-04 15:38 
How about:

When your program is written in C instead of C++.

In 'C', since you want to allow the 'client' to override some basic functionality, you need to provide a callback - the client provides the pointer to his function that will do the special processing.

In 'C++' you can just provide a stub virtual fuction in a base class and the client can create a derived class and override the virtual function to do something special for his purposes.

Sounds like a good test question...

GeneralKeyboard and Mouse Hooks Pin
User 1278222-May-04 19:27
User 1278222-May-04 19:27 
GeneralRe: Keyboard and Mouse Hooks Pin
bigBA24-May-04 1:49
bigBA24-May-04 1:49 
GeneralRe: Keyboard and Mouse Hooks Pin
User 1278224-May-04 5:11
User 1278224-May-04 5:11 
GeneralTooltips on a treeview Pin
Tim Smith22-May-04 17:07
Tim Smith22-May-04 17:07 
GeneralRe: I HATE VCL (Borland) Pin
Tim Smith23-May-04 8:33
Tim Smith23-May-04 8:33 
GeneralDialog Bars in a Dialog Based App Pin
Tyrus18222-May-04 15:56
Tyrus18222-May-04 15:56 
GeneralMFC: Creating and opening a CFormView from the main one Pin
kfaday22-May-04 12:53
kfaday22-May-04 12:53 
GeneralRe: MFC: Creating and opening a CFormView from the main one Pin
JohnnyG22-May-04 16:14
JohnnyG22-May-04 16:14 
GeneralRe: MFC: Creating and opening a CFormView from the main one Pin
kfaday22-May-04 16:33
kfaday22-May-04 16:33 
GeneralURLDownloadtoFile help Pin
Ryan McDermott22-May-04 12:41
Ryan McDermott22-May-04 12:41 
GeneralRe: URLDownloadtoFile help Pin
Ravi Bhavnani22-May-04 12:48
professionalRavi Bhavnani22-May-04 12:48 
GeneralRe: URLDownloadtoFile help Pin
Ryan McDermott22-May-04 12:55
Ryan McDermott22-May-04 12:55 
GeneralRe: URLDownloadtoFile help Pin
Michael Dunn22-May-04 13:16
sitebuilderMichael Dunn22-May-04 13:16 
GeneralAccelerators in Dialogs Pin
Tyrus18222-May-04 11:17
Tyrus18222-May-04 11:17 
GeneralRe: Accelerators in Dialogs Pin
User 1278222-May-04 16:50
User 1278222-May-04 16:50 
Generaltelnet on graphics plat form Pin
elymarrak22-May-04 10:29
elymarrak22-May-04 10:29 
GeneralMFC Sockets Pin
Archer28222-May-04 7:37
Archer28222-May-04 7:37 

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.