home *** CD-ROM | disk | FTP | other *** search
/ PC Plus SuperCD (UK) 1999 October / pcp156b.iso / handson / files / copycpp.exe / UOwnerDraw.h < prev    next >
Encoding:
C/C++ Source or Header  |  1999-07-08  |  1.0 KB  |  28 lines

  1. //---------------------------------------------------------------------------
  2. #ifndef UOwnerDrawH
  3. #define UOwnerDrawH
  4. //---------------------------------------------------------------------------
  5. #include <Classes.hpp>
  6. #include <Controls.hpp>
  7. #include <StdCtrls.hpp>
  8. #include <Forms.hpp>
  9. #include <ShellAPI.hpp>
  10. #include <CommCtrl.hpp>
  11. //---------------------------------------------------------------------------
  12. class TForm1 : public TForm
  13. {
  14. __published:    // IDE-managed Components
  15.     TListBox *ListBox1;
  16.     TImageList *ImageList1;
  17.     void __fastcall FormCreate(TObject *Sender);
  18.     void __fastcall ListBox1DrawItem(TWinControl *Control, int Index,
  19.           TRect &Rect, TOwnerDrawState State);
  20. private:    // User declarations
  21. public:        // User declarations
  22.     __fastcall TForm1(TComponent* Owner);
  23. };
  24. //---------------------------------------------------------------------------
  25. extern PACKAGE TForm1 *Form1;
  26. //---------------------------------------------------------------------------
  27. #endif
  28.