home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
HomeWare 14
/
HOMEWARE14.bin
/
netutils
/
pmail311.arj
/
RESOURCE.ZIP
/
FORMS.RH
< prev
next >
Wrap
Text File
|
1993-08-23
|
4KB
|
93 lines
#
# FORMS.RH
# Definitions to be included into forms created for
# Pegasus Mail v3.0.
#
# Copright (c) 1993, David Harris, All Rights Reserved.
#
define F_TO 1 # The TO: field for the message
define F_SUBJECT 2 # ... the subject field
define F_CC 3 # ... the CC field
define F_BCC 4 # ... the BCC field
define F_REPLY_TO 5 # ... the reply-to field
define F_READING 6 # ... the reading confirmation flag
define F_DELIVER 7 # ... the delivery confirmation flag
define F_NOSIG 8 # ... the "omit signature" flag
define F_ENCRYPT 9 # ... the encrypt flag for the message
define F_KEY 10 # ... the encryption key for the message
define F_COPYSELF 11 # ... the copy-self flag for the message
define F_MESSAGE 12 # ... the message text (usually an editor)
define F_ATTACH 13 # ... the attachment list for the message
define F_URGENT 14 # ... the "urgent" flag for the message
define F_STRING 15 # ... a user-defined string field
define F_INTEGER 16 # ... a user-defined integer field
define F_BOOLEAN 17 # ... a user-defined boolean (Y/N) field
define F_MHS_TEMPLATE 18 # ... template to format the form for MHS
define F_SMTP_TEMPLATE 19 # ... template to format the form for SMTP
define F_MHS_HEADERS 20 # ... template to format headers for MHS
define F_SMTP_HEADERS 21 # ... template to format headers for SMTP
define F_VALIDATION 22 # ... a validation template
define F_WINDOW 23 # ... the window for the form
define F_LOG 24 # ... a logging resource
define F_SERIAL 25 # ... a serial number resource
define F_STATUS 26 # ... a status area
typedef formtable 50
{
repeat,
integer, # Form number (use the name you gave to the resource entry)
integer, # Correlation (choose from F_* fields defined above)
integer, # Help value (use the name of the help text resource)
integer, # Validation (use the name of the validation text resource)
integer, # Text resource containing the status text (0 for none)
integer # Default: for booleans, 1/0; for ints/strings; resource ID
};
typedef popup_menu 51
{
integer, # Resource ID of menu (use the name you gave the menu)
integer, # X-coordinate on the screen of the TLC of the menu
integer, # Y-coordinate on the screen of the TLC of the menu
integer, # X-coordinate of the display area for the menu result
integer, # Y-coordinate of the display area for the menu result
integer, # Attribute word for the popup menu (colours etc)
integer # Attribute word for the menu result display text
};
typedef logfile 53
{
string 64, # The filename string to which logging should be written
integer # The resource number of the TEXT resource to use ...
}; # ... as a format string for the log
typedef box 55
{
integer, integer, # X and Y co-ordinates of top left corner
integer, integer, # Width and height of the box
integer, # Line style (BSINGLE etc) for box
integer # Frame attribute for box.
};
typedef line 56
{
integer, integer, # X and Y co-ordinates of starting position
integer, integer, # EITHER length/0 or 0/height of line
integer, # attribute word for line
char # the character to use to draw the line
};
typedef editor 57
{
integer, integer, # X and Y co-ordinates of TLC of editor area
integer, integer, # Width and Depth of editor area
integer, # Maximum line length for editor
integer, # Maximum number of lines the editor should accept
integer, # Maximum length of edited text in bytes
integer # Display attribute for editor area.
};