Click here to Skip to main content
15,899,825 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Singleton class Pin
Jessn9-Dec-08 21:00
Jessn9-Dec-08 21:00 
QuestionHot key problem Pin
MsmVc9-Dec-08 17:49
MsmVc9-Dec-08 17:49 
AnswerRe: Hot key problem Pin
MsmVc9-Dec-08 20:36
MsmVc9-Dec-08 20:36 
GeneralRe: Hot key problem Pin
Code-o-mat10-Dec-08 3:18
Code-o-mat10-Dec-08 3:18 
Questionbmp image on dialog box Pin
VC++Maniac9-Dec-08 17:21
VC++Maniac9-Dec-08 17:21 
AnswerRe: bmp image on dialog box Pin
Mark Salsbery9-Dec-08 17:32
Mark Salsbery9-Dec-08 17:32 
GeneralRe: bmp image on dialog box Pin
VC++Maniac9-Dec-08 17:52
VC++Maniac9-Dec-08 17:52 
GeneralRe: bmp image on dialog box Pin
VC++Maniac9-Dec-08 18:15
VC++Maniac9-Dec-08 18:15 
GeneralRe: bmp image on dialog box Pin
Code-o-mat10-Dec-08 3:25
Code-o-mat10-Dec-08 3:25 
GeneralRe: bmp image on dialog box Pin
VC++Maniac10-Dec-08 3:45
VC++Maniac10-Dec-08 3:45 
GeneralRe: bmp image on dialog box Pin
Code-o-mat10-Dec-08 3:58
Code-o-mat10-Dec-08 3:58 
GeneralRe: bmp image on dialog box Pin
VC++Maniac10-Dec-08 4:08
VC++Maniac10-Dec-08 4:08 
GeneralRe: bmp image on dialog box Pin
Code-o-mat10-Dec-08 4:14
Code-o-mat10-Dec-08 4:14 
AnswerRe: bmp image on dialog box Pin
VC++Maniac10-Dec-08 17:30
VC++Maniac10-Dec-08 17:30 
GeneralRe: bmp image on dialog box Pin
VC++Maniac10-Dec-08 19:28
VC++Maniac10-Dec-08 19:28 
Questionhow to divide panes of status bar of dialog box into equal parts? Pin
puppya9-Dec-08 17:01
puppya9-Dec-08 17:01 
AnswerRe: how to divide panes of status bar of dialog box into equal parts? Pin
_AnsHUMAN_ 9-Dec-08 17:25
_AnsHUMAN_ 9-Dec-08 17:25 
QuestionWhat does this error mean? Pin
monsieur_jj9-Dec-08 15:36
monsieur_jj9-Dec-08 15:36 
AnswerRe: What does this error mean? Pin
_AnsHUMAN_ 9-Dec-08 16:47
_AnsHUMAN_ 9-Dec-08 16:47 
QuestionCInternetSession.OpenURL on Windows Mobile fails Pin
Jessn9-Dec-08 10:28
Jessn9-Dec-08 10:28 
QuestionHow do I completely take over drawing for a listbox Pin
KellyR9-Dec-08 9:46
KellyR9-Dec-08 9:46 
AnswerRe: How do I completely take over drawing for a listbox Pin
enhzflep9-Dec-08 12:03
enhzflep9-Dec-08 12:03 
GeneralRe: How do I completely take over drawing for a listbox Pin
KellyR10-Dec-08 4:00
KellyR10-Dec-08 4:00 
QuestionFinding out the source from which a base class function is called. Pin
rajandpayal9-Dec-08 9:24
rajandpayal9-Dec-08 9:24 
AnswerRe: Finding out the source from which a base class function is called. Pin
rajandpayal9-Dec-08 9:27
rajandpayal9-Dec-08 9:27 
Correction to my question

I have the following already implemented...

A base class (Say A) with a macro definition implementing two functions. Say A1 and A2.
A class ( Say B) derived from Class A.
Member functions of B called B1 and B2.
B1 calls A1
B2 calls A2.

Now I have a need for the following...

Without changing any code in the derived class B or its member functions I want to know inside A1 function the function or line number or file from which A1 gets called.

i.e I cannot change the derived class(es). I can only change the base class.

Is this possible??

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.