VisualPng.rc 3.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153
  1. //Microsoft Developer Studio generated resource script.
  2. //
  3. #include "resource.h"
  4. #define APSTUDIO_READONLY_SYMBOLS
  5. /////////////////////////////////////////////////////////////////////////////
  6. //
  7. // Generated from the TEXTINCLUDE 2 resource.
  8. //
  9. #include "afxres.h"
  10. /////////////////////////////////////////////////////////////////////////////
  11. #undef APSTUDIO_READONLY_SYMBOLS
  12. /////////////////////////////////////////////////////////////////////////////
  13. // English (U.S.) resources
  14. #if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)
  15. #ifdef _WIN32
  16. LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
  17. #pragma code_page(1252)
  18. #endif //_WIN32
  19. #ifdef APSTUDIO_INVOKED
  20. /////////////////////////////////////////////////////////////////////////////
  21. //
  22. // TEXTINCLUDE
  23. //
  24. 1 TEXTINCLUDE DISCARDABLE
  25. BEGIN
  26. "resource.h\0"
  27. END
  28. 2 TEXTINCLUDE DISCARDABLE
  29. BEGIN
  30. "#include ""afxres.h""\r\n"
  31. "\0"
  32. END
  33. 3 TEXTINCLUDE DISCARDABLE
  34. BEGIN
  35. "\r\n"
  36. "\0"
  37. END
  38. #endif // APSTUDIO_INVOKED
  39. /////////////////////////////////////////////////////////////////////////////
  40. //
  41. // Menu
  42. //
  43. VISUALPNG MENU DISCARDABLE
  44. BEGIN
  45. POPUP "&File"
  46. BEGIN
  47. MENUITEM "&Open Image...\tCtrl+O", IDM_FILE_OPEN
  48. MENUITEM "Save &As...", IDM_FILE_SAVE
  49. MENUITEM SEPARATOR
  50. MENUITEM "&Next Image\tCtrl+N", IDM_FILE_NEXT
  51. MENUITEM "Pre&vious Image\tCtrl+V", IDM_FILE_PREVIOUS
  52. MENUITEM SEPARATOR
  53. MENUITEM "E&xit\tAlt+X", IDM_FILE_EXIT
  54. END
  55. POPUP "&Options"
  56. BEGIN
  57. MENUITEM "&Stretch", IDM_OPTIONS_STRETCH, CHECKED
  58. END
  59. POPUP "&Help"
  60. BEGIN
  61. MENUITEM "&About", IDM_HELP_ABOUT
  62. END
  63. END
  64. /////////////////////////////////////////////////////////////////////////////
  65. //
  66. // Accelerator
  67. //
  68. VISUALPNG ACCELERATORS DISCARDABLE
  69. BEGIN
  70. "N", IDM_FILE_NEXT, VIRTKEY, CONTROL, NOINVERT
  71. "O", IDM_FILE_OPEN, VIRTKEY, CONTROL, NOINVERT
  72. "P", IDM_FILE_PREVIOUS, VIRTKEY, CONTROL, NOINVERT
  73. "V", IDM_FILE_PREVIOUS, VIRTKEY, CONTROL, NOINVERT
  74. "X", IDM_FILE_EXIT, VIRTKEY, ALT, NOINVERT
  75. END
  76. /////////////////////////////////////////////////////////////////////////////
  77. //
  78. // Icon
  79. //
  80. // Icon with lowest ID value placed first to ensure application icon
  81. // remains consistent on all systems.
  82. VISUALPNG ICON DISCARDABLE "VisualPng.ico"
  83. /////////////////////////////////////////////////////////////////////////////
  84. //
  85. // Dialog
  86. //
  87. ABOUTBOX DIALOG DISCARDABLE 0, 0, 186, 94
  88. STYLE DS_MODALFRAME | WS_POPUP
  89. FONT 8, "MS Sans Serif"
  90. BEGIN
  91. DEFPUSHBUTTON "OK",IDOK,68,67,50,14
  92. CTEXT "VisualPng 1.0 - June 2000",IDC_STATIC,49,14,88,8
  93. LTEXT "a PNG image viewer",IDC_STATIC,60,30,66,8
  94. LTEXT "(c) Willem van Schaik, 2000",IDC_STATIC,48,52,90,8
  95. LTEXT "to demonstrate the use of libpng in Visual C",
  96. IDC_STATIC,25,38,136,8
  97. END
  98. /////////////////////////////////////////////////////////////////////////////
  99. //
  100. // DESIGNINFO
  101. //
  102. #ifdef APSTUDIO_INVOKED
  103. GUIDELINES DESIGNINFO DISCARDABLE
  104. BEGIN
  105. "ABOUTBOX", DIALOG
  106. BEGIN
  107. LEFTMARGIN, 7
  108. RIGHTMARGIN, 179
  109. TOPMARGIN, 7
  110. BOTTOMMARGIN, 87
  111. END
  112. END
  113. #endif // APSTUDIO_INVOKED
  114. #endif // English (U.S.) resources
  115. /////////////////////////////////////////////////////////////////////////////
  116. #ifndef APSTUDIO_INVOKED
  117. /////////////////////////////////////////////////////////////////////////////
  118. //
  119. // Generated from the TEXTINCLUDE 3 resource.
  120. //
  121. /////////////////////////////////////////////////////////////////////////////
  122. #endif // not APSTUDIO_INVOKED