Click here to Skip to main content
15,891,423 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Again CListCtrl Pin
#realJSOP30-May-07 4:23
mve#realJSOP30-May-07 4:23 
GeneralRe: Again CListCtrl Pin
David Crow30-May-07 4:29
David Crow30-May-07 4:29 
GeneralRe: Again CListCtrl Pin
#realJSOP30-May-07 4:36
mve#realJSOP30-May-07 4:36 
GeneralRe: Again CListCtrl Pin
Hamid_RT30-May-07 8:49
Hamid_RT30-May-07 8:49 
AnswerRe: Again CListCtrl Pin
Naveen30-May-07 14:16
Naveen30-May-07 14:16 
Questioncallback Pin
nitin330-May-07 0:50
nitin330-May-07 0:50 
AnswerRe: callback Pin
Programm3r30-May-07 0:54
Programm3r30-May-07 0:54 
AnswerRe: callback Pin
Cedric Moonen30-May-07 0:55
Cedric Moonen30-May-07 0:55 
You can't because static member functions and standard member functions don't have the same prototype: for the latter, an implicit this parameter is passed.
The way to solve this problem is that in general, most callback functions allow you to pass some data (in general a pointer). Pass the pointer to your class instance (this) along the address of the static function that will be used for callback. In the callback function, you can then cast back the pointer to your class and call a member function from it (it should be public).


Cédric Moonen
Software developer

Charting control [v1.2]

GeneralRe: callback Pin
nitin330-May-07 1:00
nitin330-May-07 1:00 
AnswerRe: callback Pin
Programm3r30-May-07 1:05
Programm3r30-May-07 1:05 
QuestionCreating ActiveX control Using another ActiveX control in MFC Pin
arun kumar kk30-May-07 0:46
arun kumar kk30-May-07 0:46 
AnswerRe: Creating ActiveX control Using another ActiveX control in MFC Pin
Programm3r30-May-07 0:57
Programm3r30-May-07 0:57 
GeneralRe: Creating ActiveX control Using another ActiveX control in MFC Pin
arun kumar kk30-May-07 1:06
arun kumar kk30-May-07 1:06 
QuestionEXCEL AUTOMATION, VC++ Pin
artihcv30-May-07 0:46
artihcv30-May-07 0:46 
AnswerRe: EXCEL AUTOMATION, VC++ Pin
Programm3r30-May-07 1:01
Programm3r30-May-07 1:01 
AnswerRe: EXCEL AUTOMATION, VC++ Pin
artihcv30-May-07 1:32
artihcv30-May-07 1:32 
QuestionRe: EXCEL AUTOMATION, VC++ Pin
David Crow30-May-07 4:02
David Crow30-May-07 4:02 
AnswerRe: EXCEL AUTOMATION, VC++ Pin
artihcv30-May-07 18:17
artihcv30-May-07 18:17 
GeneralRe: EXCEL AUTOMATION, VC++ Pin
David Crow31-May-07 2:44
David Crow31-May-07 2:44 
GeneralRe: EXCEL AUTOMATION, VC++ Pin
artihcv31-May-07 20:31
artihcv31-May-07 20:31 
GeneralRe: EXCEL AUTOMATION, VC++ Pin
David Crow1-Jun-07 3:03
David Crow1-Jun-07 3:03 
GeneralRe: EXCEL AUTOMATION, VC++ Pin
artihcv1-Jun-07 1:29
artihcv1-Jun-07 1:29 
GeneralRe: EXCEL AUTOMATION, VC++ Pin
David Crow1-Jun-07 3:08
David Crow1-Jun-07 3:08 
GeneralRe: EXCEL AUTOMATION, VC++ Pin
artihcv1-Jun-07 1:33
artihcv1-Jun-07 1:33 
AnswerRe: EXCEL AUTOMATION, VC++ Pin
santhoshv842-Jul-07 1:43
santhoshv842-Jul-07 1:43 

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.