Microsoft KB Archive/106068

From BetaArchive Wiki
Knowledge Base

PC MAPI: Compose Requires Compose and Read Values Set to 1

Article ID: 106068

Article Last Modified on 10/30/2006


  • Microsoft Mail Client 3.0

This article was previously published under Q106068


When you use using version 3.0 of Messaging Application Program Interface (MAPI), the Compose operation is a combination of creating a message and opening it. You can only subclass a message's Compose function when you subclass the message's Open function. Therefore, in order for a dynamic- link library (DLL) to be called when you select the Compose button, both the Compose and Read operation flags must be 1. In addition, the Compose button is only tied to the IPM.Microsoft Mail.Note type.


Below is an example of the MSMAIL.INI [Custom Messages] section. This example starts the Notepad program when you select the Compose button. NOTE: The Read operation is set to 1 in the working example.

The following example works:


The following example does not work:


Additional query words: 3.00

Keywords: KB106068