home *** CD-ROM | disk | FTP | other *** search
/ Tricks of the Windows Gam…ming Gurus (2nd Edition) / Disc2.iso / msdn_vcb / samples / vc98 / addins / api2help / api2help.rc < prev    next >
Text File  |  1998-04-02  |  11KB  |  268 lines

  1. //Microsoft Developer Studio generated resource script.
  2. //
  3. #include "resource.h"
  4.  
  5. #define APSTUDIO_READONLY_SYMBOLS
  6. /////////////////////////////////////////////////////////////////////////////
  7. //
  8. // Generated from the TEXTINCLUDE 2 resource.
  9. //
  10. #include "afxres.h"
  11.  
  12. /////////////////////////////////////////////////////////////////////////////
  13. #undef APSTUDIO_READONLY_SYMBOLS
  14.  
  15. /////////////////////////////////////////////////////////////////////////////
  16. // English (U.S.) resources
  17.  
  18. #if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)
  19. #ifdef _WIN32
  20. LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
  21. #pragma code_page(1252)
  22. #endif //_WIN32
  23.  
  24. #ifdef APSTUDIO_INVOKED
  25. /////////////////////////////////////////////////////////////////////////////
  26. //
  27. // TEXTINCLUDE
  28. //
  29.  
  30. 1 TEXTINCLUDE DISCARDABLE
  31. BEGIN
  32.     "resource.h\0"
  33. END
  34.  
  35. 2 TEXTINCLUDE DISCARDABLE
  36. BEGIN
  37.     "#include ""afxres.h""\r\n"
  38.     "\0"
  39. END
  40.  
  41. 3 TEXTINCLUDE DISCARDABLE
  42. BEGIN
  43.     "#define _AFX_NO_SPLITTER_RESOURCES\r\n"
  44.     "#define _AFX_NO_OLE_RESOURCES\r\n"
  45.     "#define _AFX_NO_TRACKER_RESOURCES\r\n"
  46.     "#define _AFX_NO_PROPERTY_RESOURCES\r\n"
  47.     "\r\n"
  48.     "#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)\r\n"
  49.     "#ifdef _WIN32\r\n"
  50.     "LANGUAGE 9, 1\r\n"
  51.     "#pragma code_page(1252)\r\n"
  52.     "#endif\r\n"
  53.     "#include ""res\\API2Help.rc2""  // non-Microsoft Visual C++ edited resources\r\n"
  54.     "#include ""afxres.rc""         // Standard components\r\n"
  55.     "#endif\r\n"
  56.     "1 TYPELIB ""API2Help.tlb""\r\n"
  57.     "\0"
  58. END
  59.  
  60. #endif    // APSTUDIO_INVOKED
  61.  
  62.  
  63. #ifndef _MAC
  64. /////////////////////////////////////////////////////////////////////////////
  65. //
  66. // Version
  67. //
  68.  
  69. VS_VERSION_INFO VERSIONINFO
  70.  FILEVERSION 1,0,0,1
  71.  PRODUCTVERSION 1,0,0,1
  72.  FILEFLAGSMASK 0x3fL
  73. #ifdef _DEBUG
  74.  FILEFLAGS 0x1L
  75. #else
  76.  FILEFLAGS 0x0L
  77. #endif
  78.  FILEOS 0x4L
  79.  FILETYPE 0x2L
  80.  FILESUBTYPE 0x0L
  81. BEGIN
  82.     BLOCK "StringFileInfo"
  83.     BEGIN
  84.         BLOCK "040904B0"
  85.         BEGIN
  86.             VALUE "CompanyName", "\0"
  87.             VALUE "FileDescription", "API2HELP DLL\0"
  88.             VALUE "FileVersion", "1, 0, 0, 1\0"
  89.             VALUE "InternalName", "API2HELP\0"
  90.             VALUE "LegalCopyright", "Copyright (C) 1996\0"
  91.             VALUE "LegalTrademarks", "\0"
  92.             VALUE "OriginalFilename", "API2HELP.DLL\0"
  93.             VALUE "ProductName", "API2HELP Dynamic Link Library\0"
  94.             VALUE "ProductVersion", "1, 0, 0, 1\0"
  95.         END
  96.     END
  97.     BLOCK "VarFileInfo"
  98.     BEGIN
  99.         VALUE "Translation", 0x409, 1200
  100.     END
  101. END
  102.  
  103. #endif    // !_MAC
  104.  
  105.  
  106. /////////////////////////////////////////////////////////////////////////////
  107. //
  108. // Bitmap
  109. //
  110.  
  111. IDR_TOOLBAR_LARGE       BITMAP  MOVEABLE PURE   "res\\TBarLrge.bmp"
  112. IDR_TOOLBAR_MEDIUM      BITMAP  MOVEABLE PURE   "res\\TBarMedm.bmp"
  113.  
  114. /////////////////////////////////////////////////////////////////////////////
  115. //
  116. // Dialog
  117. //
  118.  
  119. IDD_OPTIONS DIALOG DISCARDABLE  0, 0, 250, 146
  120. STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
  121. CAPTION "File Generation Options"
  122. FONT 8, "MS Sans Serif"
  123. BEGIN
  124.     CONTROL         "Generate windows &help file",IDC_RTF,"Button",
  125.                     BS_AUTOCHECKBOX | WS_TABSTOP,7,7,101,10
  126.     LTEXT           "Save &As",IDC_STATIC2,19,20,28,8,WS_DISABLED
  127.     EDITTEXT        IDC_RTFFILENAME,59,17,129,14,ES_AUTOHSCROLL |
  128.                     WS_DISABLED | WS_GROUP
  129.     PUSHBUTTON      "&Browse...",IDC_BROWSERTF,193,17,50,14,WS_DISABLED
  130.     LTEXT           "Topic &ID",IDC_STATIC1,19,39,28,8,WS_DISABLED
  131.     EDITTEXT        IDC_TOPICIDEDIT,59,36,129,14,ES_AUTOHSCROLL |
  132.                     WS_DISABLED | WS_GROUP
  133.     LTEXT           "Topic &name",IDC_STATIC4,19,57,38,8,WS_DISABLED
  134.     EDITTEXT        IDC_TOPICNAME,59,54,129,14,ES_AUTOHSCROLL | WS_DISABLED |
  135.                     WS_GROUP
  136.     CONTROL         "Generate &web page help file",IDC_HTML,"Button",
  137.                     BS_AUTOCHECKBOX | WS_TABSTOP,7,79,105,10
  138.     LTEXT           "Save A&s",IDC_STATIC3,19,92,28,8,WS_DISABLED
  139.     EDITTEXT        IDC_HTMLFILENAME,59,89,129,14,ES_AUTOHSCROLL |
  140.                     WS_DISABLED | WS_GROUP
  141.     PUSHBUTTON      "B&rowse...",IDC_BROWSEHTML,193,89,50,14,WS_DISABLED
  142.     DEFPUSHBUTTON   "OK",IDOK,138,125,50,14
  143.     PUSHBUTTON      "Cancel",IDCANCEL,193,125,50,14
  144. END
  145.  
  146. IDD_WELCOME DIALOG DISCARDABLE  0, 0, 198, 95
  147. STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
  148. CAPTION "API2Help"
  149. FONT 8, "MS Sans Serif"
  150. BEGIN
  151.     DEFPUSHBUTTON   "OK",IDOK,78,74,50,14
  152.     PUSHBUTTON      "Cancel",IDCANCEL,141,74,50,14
  153.     CTEXT           "Welcome to the Api2Help add-in for Microsoft Developer Studio. By highlighting a function prototype, a RTF and/or HTML file will be generated to include in a help system.",
  154.                     IDC_STATIC,7,7,184,34
  155.     LTEXT           "You selected the text:",IDC_STATIC,7,41,70,8
  156.     EDITTEXT        IDC_SELECTED,7,51,184,14,ES_AUTOHSCROLL | ES_READONLY
  157. END
  158.  
  159.  
  160. /////////////////////////////////////////////////////////////////////////////
  161. //
  162. // DESIGNINFO
  163. //
  164.  
  165. #ifdef APSTUDIO_INVOKED
  166. GUIDELINES DESIGNINFO DISCARDABLE
  167. BEGIN
  168.     IDD_OPTIONS, DIALOG
  169.     BEGIN
  170.         LEFTMARGIN, 7
  171.         RIGHTMARGIN, 243
  172.         TOPMARGIN, 7
  173.         BOTTOMMARGIN, 139
  174.     END
  175.  
  176.     IDD_WELCOME, DIALOG
  177.     BEGIN
  178.         LEFTMARGIN, 7
  179.         RIGHTMARGIN, 191
  180.         TOPMARGIN, 7
  181.         BOTTOMMARGIN, 88
  182.     END
  183. END
  184. #endif    // APSTUDIO_INVOKED
  185.  
  186.  
  187. /////////////////////////////////////////////////////////////////////////////
  188. //
  189. // String Table
  190. //
  191.  
  192. STRINGTABLE DISCARDABLE
  193. BEGIN
  194.     IDS_API2HELP_LONGNAME   "API2Help Help Generator"
  195.     IDS_API2HELP_DESCRIPTION
  196.                             "Creates HTML and RTF files to include in a help system  from a hilighted function prototype."
  197.     IDS_CMD_STRING          "\nAPI2Help\nGenerates help files\nAPI2Help"
  198.     IDS_NODOC_WARN          "To use this Add-in, you must have a document open, with a function prototype selected."
  199.     IDS_NOTEXTSEL           "Could not retrieve the text selection."
  200.     IDS_COULDNOTRETRIEVE    "Could not retrieve the selected text."
  201.     IDS_NOFILE              "Could not generate the Windows help file\nbecause a filename was not given."
  202.     IDS_NOTOPICID           "Could not generate the Windows help file\nbecause a topic ID was not given."
  203.     IDS_NOTOPICNAME         "Could not generate the Windows help file\nbecause a topic name was not given."
  204.     IDS_NOFILEHTML          "Could not generate the HTML file\nbecause a filename was not given."
  205.     IDS_FINISHED            "Generation of the files is complete!"
  206.     IDS_RTF1                "{\\rtf1\\ansi \\deff4\\deflang1033{\\fonttbl{\\f4\\froman\\fcharset0\\fprq2 Times New Roman;}}{\\colortbl;\\red0\\green0\\blue0;\\red0\\green0\\blue255;\\red0\\green255\\blue255;\\red0\\green255\\blue0;\red255\\green0\\blue255;\\red255\\green0\\blue0;\n\\red255\\green255\\blue0;\\red255\\green255\\blue255;\\red0\\green0\\blue128;\\red0\\green128\\blue128;\\red0\\green128\\blue0;\\red128\\green0\\blue128;\\red128\\green0\\blue0;\\red128\\green128\\blue0;\\red128\\green128\\blue128;\\red192\\green192\\blue192;}"
  207.     IDS_RTF2                "{\\stylesheet{\\widctlpar \n\\f4\\fs20 \\snext0 Normal;}{\\*\\cs10 \\additive Default Paragraph Font;}{\\s15\\widctlpar \\f4\\fs20 \\sbasedon0\\snext15 footnote text;}{\\*\\cs16 \\additive\\super \\sbasedon10 footnote reference;}}{\\info{\\title #$K Help Topic Title}{\\author .}{\\operator .}\n{\\creatim\\yr1996\\mo6\\dy13\\hr16\\min56}{\\revtim\\yr1996\\mo6\\dy13\\hr17\\min45}{\\version2}{\\edmins6}{\\nofpages1}{\\nofwords36}{\\nofchars206}{\\*\\company  }{\\vern57443}}\\widowctrl\\ftnbj\\benddoc\\formshade \\fet0\\sectd \\linex0\\endnhere {\\*\\pnseclvl1\n\\pnucrm\\pnstart1\\pnindent720\\pnhang{\\pntxta .}}"
  208.     IDS_RTF3                "{\\*\\pnseclvl2\\pnucltr\\pnstart1\\pnindent720\\pnhang{\\pntxta .}}{\\*\\pnseclvl3\\pndec\\pnstart1\\pnindent720\\pnhang{\\pntxta .}}{\\*\\pnseclvl4\\pnlcltr\\pnstart1\\pnindent720\\pnhang{\\pntxta )}}{\\*\\pnseclvl5\n\\pndec\\pnstart1\\pnindent720\\pnhang{\\pntxtb (}{\\pntxta )}}{\\*\\pnseclvl6\\pnlcltr\\pnstart1\\pnindent720\\pnhang{\\pntxtb (}{\\pntxta )}}{\\*\\pnseclvl7\\pnlcrm\\pnstart1\\pnindent720\\pnhang{\\pntxtb (}{\\pntxta )}}{\\*\\pnseclvl8\\pnlcltr\\pnstart1\\pnindent720\\pnhang\n{\\pntxtb (}{\\pntxta )}}{\\*\\pnseclvl9\\pnlcrm\\pnstart1\\pnindent720\\pnhang{\\pntxtb (}{\\pntxta )}}\\pard\\plain \\widctlpar \\f4\\fs20 {\\cs16\\super #{\\footnote \\pard\\plain \\s15\\widctlpar \\f4\\fs20 {\\cs16\\super #} "
  209.     IDS_RTF4                "}${\\footnote \\pard\\plain \\s15\\widctlpar \n\\f4\\fs20 {\\cs16\\super $} "
  210. END
  211.  
  212. STRINGTABLE DISCARDABLE
  213. BEGIN
  214.     IDS_RTF5                "}K{\\footnote \\pard\\plain \\s15\\widctlpar \\f4\\fs20 {\\cs16\\super K} "
  215.     IDS_RTF6                "}} \n\\b\\fs44 "
  216.     IDS_RTF7                "\\b0\\fs20\n\\par \n\\par {\\b "
  217.     IDS_RTF8                " } \n {\\b\\par);\n\\par \n\\par Parameters\n\\par \n\\par }{\\i\\b "
  218.     IDS_RTF9                "\\par }  Parameter description{\\b\\i \n\\par \n\\par\n"
  219.     IDS_RTF10                "}\n\\par {\\b Return Values\n\\par }Insert return value description here{\\b \n\\par \n\\par Remarks\n\\par }Insert remarks about function here\n\\par \n\\par {\\b See Also\n\\par }List of see also links\n\\par \n\\par {\\i \n\\par }\\pard \\widctlpar \n\\par }"
  220.     IDS_HTML1               "<HTML>\n<HEAD>\n<TITLE>"
  221.     IDS_HTML2               "</TITLE>\n</HEAD>\n\n<!--API2Help Generated HTML file-->\n<BODY BGCOLOR=#FFFFFF TEXT=#000000 LINK=#0000FF VLINK=#800080 TOPMARGIN=0 VALIGN=0 >\n\n<strong><font size=""6"">"
  222.     IDS_HTML3               "</font></strong><p>\n<dt><b>"
  223.     IDS_HTML4               "(</b></dt>\n"
  224.     IDS_HTML5               "<dd><b>"
  225.     IDS_HTML6               ",</b></dd>\n"
  226.     IDS_HTML7               "</dd><dt></dt>);</b><p>"
  227.     IDS_HTML8               "<br><b>);</b><p>\n"
  228.     IDS_HTML9               "<b>Parameters</b><p>\n"
  229.     IDS_HTML10              "<dt><i><b>"
  230.     IDS_HTML11              "</i></dt></b>\n<dd>Parameter description</dd><p>\n"
  231. END
  232.  
  233. STRINGTABLE DISCARDABLE
  234. BEGIN
  235.     IDS_HTML12              "<dt></dt><br>\n<b>Return Values</b><p>\nInsert return value description here<p>\n<b>Remarks</b><p>\nInsert remarks about function here<p>\n<b>See also</b><p>\nSee also links\n</BODY>\n</HTML>"
  236.     IDS_HTMLFILESPEC        "HTML Files (*.htm;*.html)|*.htm;*.html|All Files (*.*)|*.*||"
  237.     IDS_RTFFILESPEC         "Rich Text Files (*.rtf)|*.rtf|All Files (*.*)|*.*||"
  238.     IDS_NONESEL             "You need to select a type of output (HTML or RTF) first."
  239. END
  240.  
  241. #endif    // English (U.S.) resources
  242. /////////////////////////////////////////////////////////////////////////////
  243.  
  244.  
  245.  
  246. #ifndef APSTUDIO_INVOKED
  247. /////////////////////////////////////////////////////////////////////////////
  248. //
  249. // Generated from the TEXTINCLUDE 3 resource.
  250. //
  251. #define _AFX_NO_SPLITTER_RESOURCES
  252. #define _AFX_NO_OLE_RESOURCES
  253. #define _AFX_NO_TRACKER_RESOURCES
  254. #define _AFX_NO_PROPERTY_RESOURCES
  255.  
  256. #if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)
  257. #ifdef _WIN32
  258. LANGUAGE 9, 1
  259. #pragma code_page(1252)
  260. #endif
  261. #include "res\API2Help.rc2"  // non-Microsoft Visual C++ edited resources
  262. #include "afxres.rc"         // Standard components
  263. #endif
  264. 1 TYPELIB "API2Help.tlb"
  265.  
  266. /////////////////////////////////////////////////////////////////////////////
  267. #endif    // not APSTUDIO_INVOKED
  268.