Basic form design question

  • Thread starter Thread starter joebob
  • Start date Start date
J

joebob

If possible, I would like to customize the existing form that opens when
I click File -> New -> Mail Message. I don't want to create a new
custom form but rather modify the existing form. As a basic example to
get me going, can someone tell me how to make it so that when I select
File -> New -> Mail Message, I get a popup message (in addition to the
new message window)? In other words, what are the steps to modify the
existing form, where does the Msgbox() code go, etc.

I am using O2K in C/W mode, Security Update, no Exchange Server. Thanks
 
Thanks Sue, that gets me started.

Sue Mosher said:
You have to create a custom form by modifying a *copy* of the built-in form.
Choose Tools | Forms | Design a Form. Click the View Code button in design
mode to add this VBScript code:

Function Item_Open()
MsgBox "My form is open"
End Function

More basics at http://www.outlookcode.com/d/forms.htm .

Once you've designed and published your form, you can make a registry change
to substitute it for the default message form. See
http://www.slipstick.com/dev/newdefaultform.htm#changedefault

--
Sue Mosher, Outlook MVP
Author of
Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers
 
I would like to do something similar. This Time, when I click on the ne
mail button, I am prompted for which form I wish to open.
Is there a wa
 
Similar to what? The newsgroup interface you are using apparently does not
quote earlier messages in the thread, making your latest message so short on
detail that you risk not getting the answer you're looking for. Please take
the time to quote the original message.
 
Back
Top