Click here to Skip to main content
15,922,696 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: How to skin a window application? Pin
17-Jan-01 22:54
suss17-Jan-01 22:54 
AnswerRe: How to skin a window application? Pin
17-Jan-01 22:57
suss17-Jan-01 22:57 
AnswerRe: How to skin a window application? Pin
Erik Funkenbusch18-Jan-01 10:55
Erik Funkenbusch18-Jan-01 10:55 
AnswerRe: How to skin a window application? Pin
18-Jan-01 11:55
suss18-Jan-01 11:55 
GeneralRe: How to skin a window application? Pin
.::RockNix::.18-Jan-01 21:35
.::RockNix::.18-Jan-01 21:35 
Questionfriend keyword query? Pin
17-Jan-01 18:21
suss17-Jan-01 18:21 
AnswerRe: friend keyword query? Pin
Michael Dunn17-Jan-01 20:41
sitebuilderMichael Dunn17-Jan-01 20:41 
QuestionHow to write a custom event sink map? Pin
Brendan Tregear17-Jan-01 17:41
Brendan Tregear17-Jan-01 17:41 
Hi
I have a generic class (KodakCard) which has an ActiveX control in it. The ActiveX control can fire events, but i don't want to receive them in any of my view classes but instead within the KodakCard class. This would be good encapsulation. Yet because KodakCard is a non-MFC class it doesn't seem to be receiving events (nor any other of my view classes presumably because they're not hooked up to the control).

So how do i do it? I'd prefer to keep it all MFC, without any ATL stuff, but whatever is easiest.... ...I've tried creating a new class derived form CmdTarget (CKodakEventSink) and editing the *.odl file and adding the activex control's guid to it then creating an instance of CKodakEventSink in KodakCard but I can't get it to work because i don't understand *why* I'm doing it (even MSDN can't help sometimes Smile | :) ...

If someone could explain the logic involved or point me to a web page/book that explains this process that would be great...

Thanks

Brendan

AnswerRe: How to write a custom event sink map? Pin
Franky Braem17-Jan-01 20:44
Franky Braem17-Jan-01 20:44 
AnswerRe: How to write a custom event sink map? Pin
Manjunath N.A18-Jan-01 6:35
Manjunath N.A18-Jan-01 6:35 
QuestionHow would an Expert to this? Pin
Scott!17-Jan-01 17:41
Scott!17-Jan-01 17:41 
GeneralNeed help with delete class cleanup. Alternatively ... Pin
Tadeusz Westawic17-Jan-01 13:57
Tadeusz Westawic17-Jan-01 13:57 
GeneralRe: Need help with delete class cleanup. Alternatively ... Pin
Christian Graus17-Jan-01 14:28
protectorChristian Graus17-Jan-01 14:28 
GeneralRe: Need help with delete class cleanup. Alternatively ... Pin
Michael Dunn17-Jan-01 15:40
sitebuilderMichael Dunn17-Jan-01 15:40 
GeneralRe: Need help with delete class cleanup. Alternatively ... Pin
Tadeusz Westawic18-Jan-01 6:17
Tadeusz Westawic18-Jan-01 6:17 
GeneralRe: Need help with delete class cleanup. Alternatively ... Pin
Erik Funkenbusch18-Jan-01 11:01
Erik Funkenbusch18-Jan-01 11:01 
QuestionReseting App...? Pin
17-Jan-01 10:20
suss17-Jan-01 10:20 
QuestionReseting App...? Pin
17-Jan-01 10:20
suss17-Jan-01 10:20 
AnswerRe: Reseting App...? Pin
Christian Graus17-Jan-01 12:35
protectorChristian Graus17-Jan-01 12:35 
GeneralIPicture & ADO Pin
Igor Tkachev17-Jan-01 7:04
Igor Tkachev17-Jan-01 7:04 
GeneralNeed a litle help Pin
17-Jan-01 6:22
suss17-Jan-01 6:22 
GeneralRe: Need a litle help Pin
David Fedolfi17-Jan-01 7:11
David Fedolfi17-Jan-01 7:11 
GeneralRe: Need a litle help Pin
Christian Graus17-Jan-01 10:12
protectorChristian Graus17-Jan-01 10:12 
QuestionHow to sotre data from a dialog to Execel file? Pin
17-Jan-01 5:56
suss17-Jan-01 5:56 
AnswerRe: How to sotre data from a dialog to Execel file? Pin
David Fedolfi17-Jan-01 6:09
David Fedolfi17-Jan-01 6:09 

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.