Category : C Source Code
Archive   : DFPP03.ZIP
Filename : DIALOG.H

 
Output of file : DIALOG.H contained in archive : DFPP03.ZIP
// -------- dialog.h

#ifndef DIALOG_H
#define DIALOG_H

#include "dfwindow.h"
#include "desktop.h"
#include "control.h"

class Control;

class Dialog : public DFWindow {
Bool isRunning;
Bool okexit;
void OpenWindow();
friend Control;
void TestShortcut(int key);
protected:
Dialog(const char *ttl, int lf, int tp, int ht, int wd,
DFWindow *par = (DFWindow *)desktop.ApplWnd())
: DFWindow(ttl, lf, tp, ht, wd, par)
{ OpenWindow(); }
Dialog(const char *ttl, int ht, int wd,
DFWindow *par = (DFWindow *)desktop.ApplWnd())
: DFWindow(ttl, ht, wd, par)
{ OpenWindow(); }
virtual void CloseWindow();
virtual void Keyboard(int key);
virtual void OKFunction();
virtual void CancelFunction();
virtual void HelpFunction();
public:
virtual void Execute();
Bool OKExit() { return okexit; }
};

#endif




  3 Responses to “Category : C Source Code
Archive   : DFPP03.ZIP
Filename : DIALOG.H

  1. Very nice! Thank you for this wonderful archive. I wonder why I found it only now. Long live the BBS file archives!

  2. This is so awesome! 😀 I’d be cool if you could download an entire archive of this at once, though.

  3. But one thing that puzzles me is the “mtswslnkmcjklsdlsbdmMICROSOFT” string. There is an article about it here. It is definitely worth a read: http://www.os2museum.com/wp/mtswslnk/