Click here to Skip to main content
15,891,725 members
Home / Discussions / ATL / WTL / STL
   

ATL / WTL / STL

 
GeneralRe: VS 2008 and ATL Web Service / Server Pin
Hadi Rezaee13-Dec-08 0:16
Hadi Rezaee13-Dec-08 0:16 
GeneralRe: VS 2008 and ATL Web Service / Server Pin
Stuart Dootson13-Dec-08 1:07
professionalStuart Dootson13-Dec-08 1:07 
QuestionSet in Visual Studio 2005! Pin
SanjaySMK11-Dec-08 23:22
SanjaySMK11-Dec-08 23:22 
AnswerRe: Set in Visual Studio 2005! Pin
Stuart Dootson12-Dec-08 8:32
professionalStuart Dootson12-Dec-08 8:32 
QuestionWhy COM Pin
Varghese Paul M10-Dec-08 22:49
Varghese Paul M10-Dec-08 22:49 
AnswerRe: Why COM Pin
Stuart Dootson11-Dec-08 2:20
professionalStuart Dootson11-Dec-08 2:20 
QuestionRe: Why COM Pin
led mike11-Dec-08 5:03
led mike11-Dec-08 5:03 
QuestionPowerpoint Addin Using ATL (How do I deal with Events?) Pin
kalukaley10-Dec-08 8:14
kalukaley10-Dec-08 8:14 
When you write an office addin for say MS Word using ATL after you've performed all the basic steps such as implementing IDExtensibility2 and including the proper typelibs all that's left in order to handle events is to implement IDispEventSimpleImpl using the dispinterface ApplicationEvents2. Then of course you fill in the sink maps with the appropriate values for the events you wish to capture.

This is of course a gross over simplification, but my point is when you have a dispinterface such as ApplicationEvents2 at your disposal your events have ID's associated with them (e.g. 0x00000006 = DocumentBeforeClose)

There is no such convenience when working with PowerPoint. EApplication contains the events you want to handle. However EApplication inherits directly from IDISPATCH. The events do not have id's associated with them (at least not obviously).

Does anyone know how to implement a powerpoint addin using ATL that handles events?

NOTE: Before you include links from Microsofts knowledgebase make sure that the sample actually is about a powerpoint addin using ATL. I've been through many of the links, they come close but do not answer my question. I'm not using c# and I'm not writing any dialog based projects.
QuestionHow to search elements in vector Pin
krishnakumartm10-Dec-08 0:12
krishnakumartm10-Dec-08 0:12 
AnswerRe: How to search elements in vector Pin
Michael Dunn10-Dec-08 9:22
sitebuilderMichael Dunn10-Dec-08 9:22 
GeneralRe: How to search elements in vector Pin
krishnakumartm11-Dec-08 4:09
krishnakumartm11-Dec-08 4:09 
QuestionBHO question: context menu item with "dynamic" title Pin
Dmitry Khudorozhkov9-Dec-08 14:55
Dmitry Khudorozhkov9-Dec-08 14:55 
QuestionRe: BHO question: context menu item with "dynamic" title Pin
led mike10-Dec-08 4:51
led mike10-Dec-08 4:51 
QuestionControl being created with a valid DC but no window until a refresh is made Pin
TClarke9-Dec-08 0:06
TClarke9-Dec-08 0:06 
AnswerFixed it Pin
TClarke9-Dec-08 1:21
TClarke9-Dec-08 1:21 
Questionwin32 version of rand() ? Pin
Member 56966976-Dec-08 4:29
Member 56966976-Dec-08 4:29 
AnswerRe: win32 version of rand() ? Pin
Michael Dunn7-Dec-08 20:34
sitebuilderMichael Dunn7-Dec-08 20:34 
QuestionHow to use the Aggregate COM object in client application Pin
KASR14-Dec-08 23:28
KASR14-Dec-08 23:28 
QuestionHow to create composite control Pin
KASR12-Dec-08 18:57
KASR12-Dec-08 18:57 
AnswerRe: How to create composite control Pin
Stuart Dootson2-Dec-08 22:12
professionalStuart Dootson2-Dec-08 22:12 
GeneralRe: How to create composite control Pin
KASR13-Dec-08 0:30
KASR13-Dec-08 0:30 
QuestionGetting to Parent frame window from view Pin
rajas30-Nov-08 19:31
rajas30-Nov-08 19:31 
AnswerRe: Getting to Parent frame window from view Pin
Michael Dunn5-Dec-08 15:38
sitebuilderMichael Dunn5-Dec-08 15:38 
GeneralRe: Getting to Parent frame window from view Pin
rajas7-Dec-08 6:40
rajas7-Dec-08 6:40 
GeneralRe: Getting to Parent frame window from view Pin
Michael Dunn7-Dec-08 20:34
sitebuilderMichael Dunn7-Dec-08 20:34 

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.