Unit NMailBox

Classes

NMailboxViewer -
TFormClass -
TMailboxViewerControl -
TMBCustomListBox -
TMBHeader -
TNMailBox -

Functions

Types

MBName
NMailBoxIndex
TMailboxNotification
TMailboxViewerRecord
TMailboxViewerRecordPtr
TMBClickEvent
TMBVNotifications
TNMailBoxError
TViewerInfo

Constants

MBV_CLOSE
MBV_PARENT
MBV_SETMESSAGE
MBV_UPDATEINFO
WM_MBNOTIFY

Variables


Functions


Types


MBName=string[8]

NMailBoxIndex = record
FromName : string[80];
ToName : string[80];
Subject : string[40];
Date : string[40];
Size : LongInt;
Lines : LongInt;
Start : LongInt;
FirstAtt : LongInt;
LastAtt : LongInt;
Part : SmallInt;
Flag : Char;
end;

TMailboxNotification=(mnAdd,mnDelete,mnFlag,mnClearAll,mnDeleteMailbox,mnDestroying);

TMailboxViewerRecord = record
Name : String[60];
Subject : String[80];
Date : String[40];
Size : LongInt;
Flag : Char;
Attachments : Boolean;
end;

TMailboxViewerRecordPtr=^TMailboxViewerRecord

TMBClickEvent=procedure(Sender: TObject;MessageNumber: integer) of object

TMBVNotifications = record
Control : TMailboxViewerControl;
MailboxName : MBName;
end;

TNMailBoxError=(NoError,AlreadyExists,InvalidDirectory,FileError,
                    InvalidNMailBox);

TViewerInfo = record
Handle : THandle;
MessageNumber : integer;
end;

Constants

MBV_CLOSE = WM_USER+3

MBV_PARENT = WM_USER+1

MBV_SETMESSAGE = WM_USER+2

MBV_UPDATEINFO = WM_USER+4

WM_MBNOTIFY = WM_USER+1

Copyright (©) 1997 Tony BenBrahim This library is free software; you can redistribute it and/or modify it under the terms of the GNU Library General Public License as published by the Free Software Foundation This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Library General Public License for more details. You should have received a copy of the GNU Library General Public License along with this library; if not, write to the: Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.

Variables