A Microsoft Outlook email forum. Outlook Banter

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » Outlook Banter forum » Microsoft Outlook Email Newsgroups » Add-ins for Outlook
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

Reminder Event parameter problem



 
 
Thread Tools Search this Thread Display Modes
  #1  
Old June 20th 06, 11:05 AM posted to microsoft.public.outlook.program_addins
Venkata
external usenet poster
 
Posts: 1
Default Reminder Event parameter problem

Hi

Im using the Reminder events, Im able to get all the events in the
Reminders. The BeforeReminderShow event has a VARIANT_BOOL parameter, we have
to set this parameter to "true"(VARIANT_TRUE) if we dont want to show the
default reminder dialog. I tried setting this to true but its not working.
Even some other events like NewMail, ItemEvents-OnOpen etc has this
VARIANT_BOOL parameter, which should cancel the operation if we set it to
true. But its not happening.. that line is simply being ignored. Below is my
code :-


_ATL_FUNC_INFO OnReminderInfo = (CC_STDCALL,VT_EMPTY,1,{VT_BOOL}};

class ATL_NO_VTABLE CAddin :
....
....
public IDispEventSimpleImpl5,CAddin,
&__uuidof(Outlook::ReminderCollectionEvents
{
typedef IDispEventSimpleImpl5,CAddin,
&__uuidof(Outlook::ReminderCollectionEvents
ReminderEvents;

BEGIN_SINK_MAP(CAddin)
SINK_ENTRY_INFO(5, __uuidof(Outlook::ReminderCollectionEvents),
/*dispid*/ 0x0000fa93,
OnBeforeReminderShow, &OnReminderInfo)
END_SINK_MAP()

OnBeforeReminderShow(VARIANT_BOOL* Cancel)
{
.......
......
*Cancel = VARIANT_TRUE; // This line is not working.. Has not effect.

}
}
//Code ends...


Can you help me on this..


Ads
 




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
How to get reminder Event form outlook using VC++ [email protected] Add-ins for Outlook 3 June 27th 06 06:18 PM
Recurring event causes Outlook reminder alarm to quit George Outlook - Calandaring 1 May 7th 06 01:39 AM
Default event reminder interval Klitos Outlook - Calandaring 1 April 12th 06 07:03 AM
Outlook 2003 Event Reminder Unhides the Taskbar Sam Fertel Outlook - General Queries 0 March 13th 06 03:47 PM
cannot dismiss a reminder from a January 1, 1601 event tbone Outlook - Calandaring 0 March 1st 06 03:59 PM


All times are GMT +1. The time now is 11:48 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.Search Engine Friendly URLs by vBSEO 2.4.0
Copyright ©2004-2024 Outlook Banter.
The comments are property of their posters.