Click here to Skip to main content
15,897,704 members
Home / Discussions / ATL / WTL / STL
   

ATL / WTL / STL

 
GeneralRe: ATL and javascript Pin
Nathan Holt at EMOM18-Feb-08 11:48
Nathan Holt at EMOM18-Feb-08 11:48 
GeneralRe: ATL and javascript Pin
whizdom22-Feb-08 7:43
whizdom22-Feb-08 7:43 
QuestionPlease enlighten me on STL iterators and CriticalSection locking Pin
Kosta Cherry13-Feb-08 21:15
Kosta Cherry13-Feb-08 21:15 
GeneralRe: Please enlighten me on STL iterators and CriticalSection locking Pin
Andy Moore14-Feb-08 6:11
Andy Moore14-Feb-08 6:11 
GeneralRe: Please enlighten me on STL iterators and CriticalSection locking Pin
Kosta Cherry14-Feb-08 11:49
Kosta Cherry14-Feb-08 11:49 
GeneralUsing an activex control in an ATL project Pin
zon_cpp11-Feb-08 20:33
zon_cpp11-Feb-08 20:33 
GeneralRe: Using an activex control in an ATL project Pin
Stuart Dootson11-Feb-08 23:38
professionalStuart Dootson11-Feb-08 23:38 
GeneralATL: IDispEvent*Impl for n instances [modified] Pin
wickdom8-Feb-08 3:59
wickdom8-Feb-08 3:59 
hi,

edit: there is a short background explanation; but the problem is not outlook-specific

for an outlook-addin i need to get disp-events of outlook-items (IDispatch-based interface Outlook::ItemEvents)... which is fine as long as i just need the events of a fixed number of items (see below for a shortened code-example how i do it at the moment).

but now i need to connect to n items... and am as of yet clueless if there is a nice clean atl-way to do just that?
browsing the msdn-documentation for atl and googling didn't give me useful results so far Frown | :(

any hints and clues are appreciated.

class ATL_NO_VTABLE xyz :
  ...
  public IDispEventSimpleImpl<1, xyz, &__uuidof(Outlook::ItemEvents)>,
  ...
{
  ...
  typedef IDispEventSimpleImpl<1, xyz, &__uuidof(Outlook::ItemEvents)> MyItemEvents;
  ...

  BEGIN_SINK_MAP(xyz)
    SINK_ENTRY_INFO(
      2,
      __uuidof(Outlook::ItemEvents),
     0xF006,
     OnItemCustomAction,
     &AtlCallDispatchDispatchBool
    )
    ...
  END_SINK_MAP()

  ...
}


modified on Friday, February 8, 2008 12:06 PM

GeneralRe: ATL: IDispEvent*Impl for n instances Pin
Stuart Dootson8-Feb-08 8:52
professionalStuart Dootson8-Feb-08 8:52 
GeneralRe: ATL: IDispEvent*Impl for n instances Pin
wickdom8-Feb-08 12:03
wickdom8-Feb-08 12:03 
Generalefficiency copy vector into a second vector Pin
manustone4-Feb-08 2:20
manustone4-Feb-08 2:20 
GeneralRe: efficiency copy vector into a second vector Pin
Steve Echols4-Feb-08 18:03
Steve Echols4-Feb-08 18:03 
QuestionRe: efficiency copy vector into a second vector Pin
CPallini4-Feb-08 22:28
mveCPallini4-Feb-08 22:28 
GeneralRe: efficiency copy vector into a second vector Pin
manustone8-Feb-08 3:25
manustone8-Feb-08 3:25 
GeneralRe: efficiency copy vector into a second vector Pin
Andy Moore14-Feb-08 6:13
Andy Moore14-Feb-08 6:13 
QuestionTBSTYLE_EX_DRAWDDARROWS resize problem??? Pin
Rajesh_Yadav_8029-Jan-08 0:51
Rajesh_Yadav_8029-Jan-08 0:51 
Generalerror C2259: 'ATL::CComObject<base>' : cannot instantiate abstract class</base> Pin
zakkas248322-Jan-08 20:44
zakkas248322-Jan-08 20:44 
GeneralRe: error C2259: 'ATL::CComObject' : cannot instantiate abstract class Pin
Nathan Holt at EMOM23-Jan-08 5:18
Nathan Holt at EMOM23-Jan-08 5:18 
GeneralShell context menu Pin
nazovi11-Jan-08 3:48
nazovi11-Jan-08 3:48 
GeneralRe: Shell context menu Pin
led mike11-Jan-08 5:13
led mike11-Jan-08 5:13 
GeneralUnable to add variable for ATL Control Pin
KASR110-Jan-08 22:21
KASR110-Jan-08 22:21 
GeneralConvert CString to BSTR Pin
mandanani10-Jan-08 20:07
mandanani10-Jan-08 20:07 
QuestionRe: Convert CString to BSTR Pin
CPallini10-Jan-08 21:59
mveCPallini10-Jan-08 21:59 
GeneralRe: Convert CString to BSTR Pin
mandanani10-Jan-08 23:17
mandanani10-Jan-08 23:17 
GeneralRe: Convert CString to BSTR Pin
Lim Bio Liong12-Jan-08 3:23
Lim Bio Liong12-Jan-08 3:23 

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.