home *** CD-ROM | disk | FTP | other *** search
/ Chip 1997 January / Chip_1997-01_cd.bin / ms95 / disk23 / dir01 / f017740.re_ / f017740.re
Text File  |  1996-04-02  |  3KB  |  89 lines

  1. /*----------------------------------------------------------------------+
  2. |                                    |
  3. |  Copyright (1991-95) Bentley Systems, Inc., All rights reserved.    |
  4. |                                    |
  5. |  "MicroStation" is a registered trademark and "MDL" and "MicroCSL"    |
  6. |  are trademarks of Bentley Systems, Inc.                    |
  7. |                                    |
  8. |  Limited permission is hereby granted to reproduce and modify this    |
  9. |  copyrighted material provided that the resulting code is used only     |
  10. |  in conjunction with Bentley Systems products under the terms of the    |
  11. |  license agreement provided therein, and that this notice is retained    |
  12. |  in its entirety in any such reproduction or modification.        |
  13. |                                    |
  14. +----------------------------------------------------------------------*/
  15. /*----------------------------------------------------------------------+
  16. |                                    |
  17. |   $Logfile:   J:/mdl/examples/viewtool/viewtool.h_v  $
  18. |   $Workfile:   viewtool.h  $
  19. |   $Revision:   1.0  $
  20. |       $Date:   29 Jun 1995 14:58:36  $
  21. |                                    |
  22. +----------------------------------------------------------------------*/
  23. /*----------------------------------------------------------------------+
  24. |                                                                       |
  25. |   viewtool.h                                |
  26. |                                                                       |
  27. +----------------------------------------------------------------------*/
  28. #if !defined (__viewtoolH__)
  29. #define __viewtoolH__
  30.  
  31. #define DIALOGID_ViewTool        1
  32.  
  33. #define GENERICID_Overview        1
  34.  
  35. #define OPTIONBUTTONID_View         1
  36.  
  37. #define TOGGLEID_Width            1
  38. #define TOGGLEID_Height            2
  39. #define TOGGLEID_Ratio          3
  40.  
  41. #define TEXTID_Width            1
  42. #define TEXTID_Height            2
  43. #define TEXTID_Ratio            3
  44.  
  45. #define PUSHBUTTONID_Okay        1
  46.  
  47. #define HOOKDIALOGID_ViewTool        1
  48. #define HOOKITEMID_OK            2
  49. #define HOOKITEMID_View            3
  50. #define HOOKITEMID_Overview            4
  51. #define HOOKITEMID_WidthToggle            5
  52. #define HOOKITEMID_HeightToggle            6
  53. #define HOOKITEMID_RatioToggle            7
  54. #define HOOKITEMID_WidthText            8
  55. #define HOOKITEMID_HeightText            9
  56. #define HOOKITEMID_RatioText            10
  57.  
  58. /*----------------------------------------------------------------------+
  59. |                                    |
  60. |   Message list IDs                            |
  61. |                                    |
  62. +----------------------------------------------------------------------*/
  63. #define        MESSAGELISTID_Messages    0
  64.  
  65. /*----------------------------------------------------------------------+
  66. |                                    |
  67. |   Message IDs                                    |
  68. |                                    |
  69. +----------------------------------------------------------------------*/
  70. #define     MSGID_HRSelected            1
  71. #define     MSGID_WRSelected            2
  72. #define     MSGID_WHSelected            3
  73. #define        MSGID_DialogOpenError    4
  74.  
  75.  
  76. /*----------------------------------------------------------------------+
  77. |                                    |
  78. |   Typedefs for Dialog access strings                    |
  79. |                                    |
  80. +----------------------------------------------------------------------*/
  81. typedef struct viewtoolinfo
  82.     {
  83.     int        viewNo;
  84.     int        viewWidth;
  85.     int        viewHeight;
  86.     float    viewRatio;
  87.     } ViewToolInfo;
  88.  
  89. #endif /* #if !defined (__viewtoolH__) */