// Object: to summarize the disk free space of all drives as follows. // Compiler is Borlandc++ version 4.52 // Note: This program uses the "OWL Application Framework" included // with the compiler. This Object Windows (class) Library // replaces most of the Windows API functions with functions // contained with its C++ classes. The goal is to make Windows // programming simpler. #include <owl\owlpch.h> #include <owl\applicat.h> #include <owl\framewin.h> #include <owl\static.h> #include <owl\listbox.h> #include "df.h" // Disk Free routines --- ie. code const WORD ID_LB_BASE = 200; const WORD ID_STANDARD = ID_LB_BASE; class TListBoxWindow : public TFrameWindow { public: TListBoxWindow(const char* title); ~TListBoxWindow(); void SetupWindow(); void EvSize(uint sizeType, TSize& size); private: TListBox* ListBox; // list box pointer TFont* MyFont; DECLARE_RESPONSE_TABLE(TListBoxWindow); }; DEFINE_RESPONSE_TABLE1(TListBoxWindow, TFrameWindow) EV_WM_SIZE, END_RESPONSE_TABLE; ...............