Click here to Skip to main content
15,888,527 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Linking Libraries Pin
Mark Salsbery20-Oct-06 9:14
Mark Salsbery20-Oct-06 9:14 
QuestionDot Matrix printing skip page problem Pin
mikobi20-Oct-06 2:51
mikobi20-Oct-06 2:51 
QuestionRe: Dot Matrix printing skip page problem Pin
Waldermort20-Oct-06 2:57
Waldermort20-Oct-06 2:57 
AnswerRe: Dot Matrix printing skip page problem Pin
mikobi20-Oct-06 6:29
mikobi20-Oct-06 6:29 
Questionmaking Dialog Proc member of a class Pin
priyank_ldce20-Oct-06 2:40
priyank_ldce20-Oct-06 2:40 
QuestionRe: making Dialog Proc member of a class Pin
David Crow20-Oct-06 2:49
David Crow20-Oct-06 2:49 
GeneralRe: making Dialog Proc member of a class Pin
priyank_ldce20-Oct-06 2:58
priyank_ldce20-Oct-06 2:58 
AnswerRe: making Dialog Proc member of a class Pin
Waldermort20-Oct-06 2:51
Waldermort20-Oct-06 2:51 
Normally you cannot do this. The easiest way is to declare the DlgProc as a static member, but that will give you problems accessing other class members. You can also store the this pointer in a static member, and again add a static DlgProc then cast the pointer to access the class members, but this method causes problems when using more than one instance of the class. By far, the best method is to use a thunk.
AnswerRe: making Dialog Proc member of a class Pin
Cedric Moonen20-Oct-06 3:06
Cedric Moonen20-Oct-06 3:06 
GeneralRe: making Dialog Proc member of a class Pin
priyank_ldce20-Oct-06 3:49
priyank_ldce20-Oct-06 3:49 
GeneralRe: making Dialog Proc member of a class Pin
Cedric Moonen20-Oct-06 3:55
Cedric Moonen20-Oct-06 3:55 
GeneralRe: making Dialog Proc member of a class Pin
priyank_ldce20-Oct-06 4:03
priyank_ldce20-Oct-06 4:03 
GeneralRe: making Dialog Proc member of a class Pin
Waldermort20-Oct-06 4:24
Waldermort20-Oct-06 4:24 
GeneralRe: making Dialog Proc member of a class Pin
Cedric Moonen20-Oct-06 4:39
Cedric Moonen20-Oct-06 4:39 
GeneralRe: making Dialog Proc member of a class Pin
Waldermort20-Oct-06 5:02
Waldermort20-Oct-06 5:02 
GeneralFriday Brain Death - and a C/maths problem. Pin
Iain Clarke, Warrior Programmer20-Oct-06 2:31
Iain Clarke, Warrior Programmer20-Oct-06 2:31 
GeneralRe: Friday Brain Death - and a C/maths problem. Pin
Cedric Moonen20-Oct-06 2:46
Cedric Moonen20-Oct-06 2:46 
GeneralRe: Friday Brain Death - and a C/maths problem. Pin
Iain Clarke, Warrior Programmer20-Oct-06 3:23
Iain Clarke, Warrior Programmer20-Oct-06 3:23 
GeneralRe: Friday Brain Death - and a C/maths problem. Pin
Mr.Brainley20-Oct-06 2:58
Mr.Brainley20-Oct-06 2:58 
GeneralRe: Friday Brain Death - and a C/maths problem. Pin
Iain Clarke, Warrior Programmer20-Oct-06 3:25
Iain Clarke, Warrior Programmer20-Oct-06 3:25 
QuestionWNDPROC Pin
Waldermort20-Oct-06 2:13
Waldermort20-Oct-06 2:13 
AnswerRe: WNDPROC Pin
tanvon malik23-Oct-06 20:12
tanvon malik23-Oct-06 20:12 
QuestionStrange Bug Pin
Demian Panello20-Oct-06 1:57
Demian Panello20-Oct-06 1:57 
QuestionCurrent user registry problem Pin
Raul Simcic20-Oct-06 1:50
Raul Simcic20-Oct-06 1:50 
AnswerRe: Current user registry problem Pin
Iain Clarke, Warrior Programmer20-Oct-06 2:40
Iain Clarke, Warrior Programmer20-Oct-06 2:40 

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.