home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 5 Edit / 05-Edit.zip / flist.zip / flwin.h < prev    next >
Text File  |  1996-09-04  |  1KB  |  54 lines

  1. #ifndef INCL_FLWIN
  2.  #define INCL_FLWIN
  3.  
  4.  #ifndef INCL_LIST
  5.   #include "list.h"
  6.  #endif
  7.  
  8.  #define FLM_SETWINDOW     WM_USER+1
  9.  #define FLM_CORRECTWINDOW WM_USER+2
  10.  #define FLM_CLEAR         WM_USER+3
  11.  #define FLM_CLEARMARKED   WM_USER+4
  12.  #define FLM_USER          WM_USER+5
  13.  
  14.  #define NO_SELECT         -1
  15.  
  16.  #define ID_FLWIN_RES 1
  17.  
  18.  typedef struct {
  19.    HAB      hab;
  20.    HWND     Frame;
  21.    HWND     Client;
  22.    HWND     Scroll;
  23.    LONG     fontmax;
  24.    LONG     fontbase;
  25.    LONG     fontwidth;
  26.    char     font[50];
  27.    USHORT   scrollpos;
  28.    USHORT   prevscrollpos;
  29.    USHORT   winlines;
  30.    int      xpos;
  31.    short    select;
  32.    BOOL     escape;
  33.    LPLIST  *list;
  34.    LPELEM  *current;
  35.    void    *extra;    /* use for whatever you want  */
  36.  } WNDATTR;
  37.  
  38.  typedef struct {
  39.    HAB     hab;
  40.    ULONG   flags;
  41.    USHORT  maxlines;
  42.    USHORT  maxlen;
  43.    BOOL    maximize;
  44.    USHORT  winheight;
  45.    USHORT  winwidth;
  46.    short   xpos;
  47.    short   ypos;
  48.    char    font[50];
  49.  } CREATEOPS;
  50.  
  51.  HWND EXTFUNC FLCreateWindow( CREATEOPS * );
  52.  
  53. #endif
  54.