12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849 |
- #ifndef SINGLEVALDLG_H
- #define SINGLEVALDLG_H
- /*************************************************************************************************\
- HeightDlg.h : Interface for the HeightDlg component.
- //-------------------------------------------------------------------------------------------------
- Notes : lets the user enter a minimum and maximum height for the map
- //---------------------------------------------------------------------------//
- // Copyright (C) Microsoft Corporation. All rights reserved. //
- //===========================================================================//
- \*************************************************************************************************/
- #include "stdafx.h"
- //*************************************************************************************************
- /**************************************************************************************************
- CLASS DESCRIPTION
- HeightDlg:
- **************************************************************************************************/
- class SingleValueDlg: public CDialog
- {
- public:
- SingleValueDlg( int captionID, int staticTextID, int val = 0);
- virtual ~SingleValueDlg();
- virtual void Init();
- virtual void OnOK();
- // virtual void OnCommand(Window *wnd,int nCommand);
- int GetVal(){ return val; }
- void SetVal( int newVal ){ val = newVal; }
- void Update();
- virtual BOOL OnInitDialog( ){ Init(); return TRUE; }
- private:
- char staticText[256];
- char caption[256];
- int val;
- };
- //*************************************************************************************************
- #endif // end of file ( HeightDlg.h )
|