Category : C++ Source Code
Archive   : WICS.ZIP
Filename : DIAL.H

 
Output of file : DIAL.H contained in archive : WICS.ZIP
//==============================================================================================
//
// Windows Interface Construction Set
// Version 1.00
//
// DIAL.H - Dial Class Header File
// Copyright © 1993 by Microdyne Development Technologies
// All rights reserved.
//==============================================================================================

#ifndef _DIAL_H
#define _DIAL_H

#include
#include

#pragma option -Vo-
#if defined(__BCOPT__) && !defined(_ALLOW_po)
#pragma option -po-
#endif

_CLASSDEF(TDial)

/* --------------------------------------------------------
TDial object
-------------------------------------------------------- */

class _EXPORT TDial : public TScrollBar
{
public:
int LineMagnitude, PageMagnitude;

TDial(PTWindowsObject AParent, int AnId, int X, int Y, PTModule AModule = NULL);
TDial(PTWindowsObject AParent, int ResourceId, PTModule AModule = NULL);

void GetRange(Rint LoVal, Rint HiVal);

int GetPosition();
void SetRange(int LoVal, int HiVal, BOOL fRedraw = FALSE);
void SetPosition(int ThumbPos);

static PTStreamable build();

protected:
virtual LPSTR GetClassName() { return "DialClass"; }

TDial(StreamableInit) : TScrollBar(streamableInit) {};
virtual void write (Ropstream os);
virtual Pvoid read (Ripstream is);

private:
virtual const Pchar streamableName() const { return "TDial"; }
};

inline Ripstream operator >> ( Ripstream is, RTDial cl ) { return is >> (RTStreamable )cl; }
inline Ripstream operator >> ( Ripstream is, RPTDial cl ) { return is >> (RPvoid)cl; }
inline Ropstream operator << ( Ropstream os, RTDial cl ) { return os << (RTStreamable )cl; }
inline Ropstream operator << ( Ropstream os, PTDial cl ) { return os << (PTStreamable )cl; }

#pragma option -Vo.
#if defined(__BCOPT__) && !defined(_ALLOW_po)
#pragma option -po.
#endif

#endif


  3 Responses to “Category : C++ Source Code
Archive   : WICS.ZIP
Filename : DIAL.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/