( Index )
Month

Brief Information about the August 96 CSIG Meeting

Disk Free Space program in DOS C and Borland O.W.L. C++

//      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;

...............

Back to top of Home Page


"Random Access" questions start at 7:30 Tuesday night.

SOURCE CODE

Source Code Files

For help, email me at b a r n o l d @ i e e e . o r g
Back to C++ Main Page