Basic form design question

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
 
S

Sue Mosher [MVP-Outlook]

J

joebob

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
 
T

tpitman

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
 
S

Sue Mosher [MVP-Outlook]

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top