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

  • Thread starter Thread starter robert dugal
  • Start date Start date
R

robert dugal

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
 
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
 
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 said:
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


robert dugal said:
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
 
Back
Top