#pragma pack(2) typedef struct { char id[10]; /* Library ID string */ char copyright[50]; /* Copyright notice */ word version; /* pcxLib version */ char label[40]; /* Library volume label */ char xtra[20]; /* filler */ } LIBHEADER; typedef struct { char synch; /* Synch byte */ char filename[13]; /* Image file name */ long filesize; /* File size */ word date; /* File date */ word time; /* File time */ word pack; /* Packing type */ char note[40]; /* Image note */ char xtra[20]; /* Extra filler */ } LIBDIR; #pragma pack() class TLibDialog : public TDialog { public: TLibDialog(); ~TLibDialog(); virtual void handleEvent ( TEvent& event ); static int SelectInput(void* source,TEvent& event); void AddFile(char* NameLib,char* NameFile,int pos,char* NameFile1); void DeleteFile(char* NameLib,int pos); void ExtrFile(char* NameLib,char* NameFile,char* NameFile1); char PathDir[256]; int OldIndChek1; int OldIndChek2; TCompCollect *PCXColect; TCompCollect *WAVColect; TScrollBar *ScrollBar1; TScrollBar *ScrollBar2; TMyTListBox *MyTListBox1; TMyTListBox *MyTListBox2; };