PC Review


Reply
Thread Tools Rating: Thread Rating: 1 votes, 1.00 average.

changing icon for custom message class that uses standard IPM.Note form

 
 
robert dugal
Guest
Posts: n/a
 
      18th Nov 2003
I have a plug-in and transport that uses a custom message class
derived from IPM.Note (ie. IPM.Note.Myclass) and uses the standard
IPM.Note form for displaying these messages. I want to change the icon
that is displayed with this message class. I found a post on the MAPI
Developers Form that said that this was possible by making a copy of
the .CFG file used for IPM.Note and modifying it to describe my
message class and icons. I did this but it doesn't appear to work in
Outlook 2000. Does this no longer work in Outlook 2000? Is there
another way to do this?

Here is my .CFG file

[Description]
MessageClass=Ipm.Note.MyClass
DesignerRuntimeGuid={0006F020-0000-0000-C000-000000000046}
CLSID={00061033-0000-0000-C000-000000000046}
DisplayName=My custom message
Category=Standard
Subcategory=Form
Comment=This form is used by Me.
LargeIcon=signl.ico
SmallIcon=signs.ico
VersionMajor=1
VersionMinor=0
Locale=enu
Hidden=0
Owner=Me
ComposeInFolder=0

[Platforms]
Platform2=NTx86
Platform9=Chicago

[Platform.NTx86]
CPU=ix86
OSVersion=WinNT3.5

[Platform.Chicago]
CPU=ix86
OSVersion=Win95

[Properties]

[Verbs]
Verb1=1

[Verb.1]
DisplayName=&Open
Code=0
Flags=0
Attribs=2

[Extensions]
Extensions1=1

[Extension.1]
Type=30
NmidPropset={00020D0C-0000-0000-C000-000000000046}
NmidInteger=1
Value=1111110000000000
 
Reply With Quote
 
 
 
 
Sue Mosher [MVP]
Guest
Posts: n/a
 
      18th Nov 2003
Why not just change the icon on the (Properties) page for the custom form and republish the form?
--
Sue Mosher, Outlook MVP
Outlook and Exchange solutions at http://www.slipstick.com
Author of
Microsoft Outlook Programming: Jumpstart
for Administrators, Power Users, and Developers
http://www.outlookcode.com/jumpstart.aspx

"robert dugal" <(E-Mail Removed)> wrote in message news:(E-Mail Removed)...
> I have a plug-in and transport that uses a custom message class
> derived from IPM.Note (ie. IPM.Note.Myclass) and uses the standard
> IPM.Note form for displaying these messages. I want to change the icon
> that is displayed with this message class. I found a post on the MAPI
> Developers Form that said that this was possible by making a copy of
> the .CFG file used for IPM.Note and modifying it to describe my
> message class and icons. I did this but it doesn't appear to work in
> Outlook 2000. Does this no longer work in Outlook 2000? Is there
> another way to do this?
>
> Here is my .CFG file
>
> [Description]
> MessageClass=Ipm.Note.MyClass
> DesignerRuntimeGuid={0006F020-0000-0000-C000-000000000046}
> CLSID={00061033-0000-0000-C000-000000000046}
> DisplayName=My custom message
> Category=Standard
> Subcategory=Form
> Comment=This form is used by Me.
> LargeIcon=signl.ico
> SmallIcon=signs.ico
> VersionMajor=1
> VersionMinor=0
> Locale=enu
> Hidden=0
> Owner=Me
> ComposeInFolder=0
>
> [Platforms]
> Platform2=NTx86
> Platform9=Chicago
>
> [Platform.NTx86]
> CPU=ix86
> OSVersion=WinNT3.5
>
> [Platform.Chicago]
> CPU=ix86
> OSVersion=Win95
>
> [Properties]
>
> [Verbs]
> Verb1=1
>
> [Verb.1]
> DisplayName=&Open
> Code=0
> Flags=0
> Attribs=2
>
> [Extensions]
> Extensions1=1
>
> [Extension.1]
> Type=30
> NmidPropset={00020D0C-0000-0000-C000-000000000046}
> NmidInteger=1
> Value=1111110000000000

 
Reply With Quote
 
robert dugal
Guest
Posts: n/a
 
      19th Nov 2003
I don't have a custom form, I'm using the existing forms with my own
message classes. I just copied the existing form .CFG file, changed
the message class and icons. From posts I'd seen this appeared to be
how to do what I want. But I found out I was missing one more step. I
needed to install my .CFG file using MAPIOpenLocalFormContainer() and
InstallForm(). Works great now!

"Sue Mosher [MVP]" <(E-Mail Removed)> wrote in message news:<(E-Mail Removed)>...
> Why not just change the icon on the (Properties) page for the custom
> form and republish the form?
> --
> Sue Mosher, Outlook MVP
> Outlook and Exchange solutions at http://www.slipstick.com
> Author of
> Microsoft Outlook Programming: Jumpstart
> for Administrators, Power Users, and Developers
> http://www.outlookcode.com/jumpstart.aspx
>
> "robert dugal" <(E-Mail Removed)> wrote in message
> news:(E-Mail Removed)...
> > I have a plug-in and transport that uses a custom message class
> > derived from IPM.Note (ie. IPM.Note.Myclass) and uses the standard
> > IPM.Note form for displaying these messages. I want to change the icon
> > that is displayed with this message class. I found a post on the MAPI
> > Developers Form that said that this was possible by making a copy of
> > the .CFG file used for IPM.Note and modifying it to describe my
> > message class and icons. I did this but it doesn't appear to work in
> > Outlook 2000. Does this no longer work in Outlook 2000? Is there
> > another way to do this?
> >
> > Here is my .CFG file
> >
> > [Description]
> > MessageClass=Ipm.Note.MyClass
> > DesignerRuntimeGuid={0006F020-0000-0000-C000-000000000046}
> > CLSID={00061033-0000-0000-C000-000000000046}
> > DisplayName=My custom message
> > Category=Standard
> > Subcategory=Form
> > Comment=This form is used by Me.
> > LargeIcon=signl.ico
> > SmallIcon=signs.ico
> > VersionMajor=1
> > VersionMinor=0
> > Locale=enu
> > Hidden=0
> > Owner=Me
> > ComposeInFolder=0
> >
> > [Platforms]
> > Platform2=NTx86
> > Platform9=Chicago
> >
> > [Platform.NTx86]
> > CPU=ix86
> > OSVersion=WinNT3.5
> >
> > [Platform.Chicago]
> > CPU=ix86
> > OSVersion=Win95
> >
> > [Properties]
> >
> > [Verbs]
> > Verb1=1
> >
> > [Verb.1]
> > DisplayName=&Open
> > Code=0
> > Flags=0
> > Attribs=2
> >
> > [Extensions]
> > Extensions1=1
> >
> > [Extension.1]
> > Type=30
> > NmidPropset={00020D0C-0000-0000-C000-000000000046}
> > NmidInteger=1
> > Value=1111110000000000

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Changing Icon of message class Tobias Böhm Microsoft Outlook Program Addins 1 7th Jul 2009 02:34 PM
Creating custom Message Form. Issue with custom Icon Abhishek Tripathi Microsoft Outlook Form Programming 0 1st Dec 2008 11:39 AM
How to lauch the Custom Form after changing the Msg Class of a Mai Nanda R Microsoft Outlook Form Programming 8 11th Dec 2007 12:11 AM
Problem in changing the custom icon for a Windows form using C#.NE =?Utf-8?B?Q29kZUtyYWNrZXI=?= Microsoft Dot NET Framework Forms 3 25th Sep 2006 03:40 PM
Custom IPM.Note Form - Message Field Trouble =?Utf-8?B?ZnJlZXNpbmU=?= Microsoft Outlook Form Programming 1 11th Aug 2006 03:50 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 08:38 PM.