HeightDlg.h 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. #ifndef HEIGHTDLG_H
  2. #define HEIGHTDLG_H
  3. /*************************************************************************************************\
  4. HeightDlg.h : Interface for the HeightDlg component.
  5. //-------------------------------------------------------------------------------------------------
  6. Notes : lets the user enter a minimum and maximum height for the map
  7. //---------------------------------------------------------------------------//
  8. // Copyright (C) Microsoft Corporation. All rights reserved. //
  9. //===========================================================================//
  10. //*************************************************************************************************
  11. /**************************************************************************************************
  12. CLASS DESCRIPTION
  13. HeightDlg:
  14. **************************************************************************************************/
  15. #include "stdafx.h"
  16. class HeightDlg: public CDialog
  17. {
  18. public:
  19. HeightDlg( int min = 0, int max = 0);
  20. void Init();
  21. void OnOK();
  22. //virtual void OnCommand(Window *wnd,int nCommand);
  23. int GetMin(){ return min; }
  24. int GetMax(){ return max; }
  25. void SetMin( int newMin ){ min = newMin; }
  26. void SetMax( int newMax ){ max = newMax; }
  27. virtual BOOL OnInitDialog(){ Init(); return TRUE; }
  28. private:
  29. int min;
  30. int max;
  31. };
  32. //*************************************************************************************************
  33. #endif // end of file ( HeightDlg.h )