home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 2 BBS / 02-BBS.zip / fsrc1241.zip / msglist.h < prev    next >
Text File  |  1996-08-12  |  2KB  |  54 lines

  1. /* MSGLIST.H */
  2.  
  3. /*--------------------------- Funktionsprototypen ---------------------------*/
  4. MRESULT EXPENTRY MsgListProc(HWND parent, ULONG message, MPARAM mp1, MPARAM mp2);
  5.  
  6. typedef struct _MSGLISTPAR {
  7.                  USHORT cb;
  8.                  ULONG  msgnum;
  9.                  ULONG  ulMsgID;
  10.                } MSGLISTPAR;
  11.  
  12. typedef struct _MSGLISTOPTIONS {
  13.                  LONG lBackClr;           /* Farben */
  14.                  LONG lForeClr;
  15.                  LONG lUnreadClr;
  16.                  LONG lFromClr;
  17.                  LONG lToClr;
  18.                  ULONG ulNrPercent;       /* Spaltenbreiten */
  19.                  ULONG ulFromPercent;
  20.                  ULONG ulToPercent;
  21.                  ULONG ulSubjPercent;
  22.                  char  mlistfont[FACESIZE+5];      /* Font */
  23.                  ULONG ulFlags;
  24.                  WINPOS ListPos;
  25.                  ULONG ulStampWrittenPercent;
  26.                  ULONG ulStampArrivedPercent;
  27.                } MSGLISTOPTIONS, *PMSGLISTOPTIONS;
  28.  
  29. #define MLISTFLAG_FOREGROUND  0x01UL
  30.  
  31. #define WORK_DELETE   0
  32. #define WORK_EXPORT   1
  33. #define WORK_PRINT    2
  34. #define WORK_COPY     3
  35. #define WORK_MOVE     4
  36. #define WORK_MARK     5
  37. #define WORK_MARKALL  6
  38.  
  39. typedef struct _WORKDATA {
  40.              struct _WORKDATA *next;
  41.              PULONG MsgIDArray;                /* Message-ID-Array */
  42.              ULONG ulArraySize;                /* Anzahl der Elemente im Array > 0 */
  43.              char pchSrcArea[LEN_AREATAG+1];   /* Quellarea bei copy und move */
  44.              char pchDestArea[LEN_AREATAG+1];  /* Zielarea bei copy und move */
  45.              char pchDestFile[LEN_PATHNAME+1]; /* Zielfile bei export */
  46.              ULONG flWorkToDo;                 /* was der Thread machen soll */
  47.              PPRINTDEST pPrintDest;            /* NULL: normal drucken */
  48.              ULONG  ulExportOptions;           /* Optionen bei Export */
  49.              ULONG  ulCopyMove;                /* Optionen f. Copy/Move */
  50.           } WORKDATA, *PWORKDATA;
  51.  
  52. void _Optlink WorkerThread(PVOID pThreadData);
  53. void MarkAllMessages(char *pchAreaTag);
  54.