⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 makehelp.bat

📁 visual c++6编程宝典源码
💻 BAT
字号:
@echo off
$$IF(MULTIPLE_LANGS)

if "%1" == "?" goto :Error
if "%1" == "/?" goto :Error
if "%1" == "-?" goto :Error
if "%1" == "help" goto :Error
if "%1" == "-help" goto :Error
if "%1" == "/help" goto :Error
if "%1" == "" goto :Error

$$ENDIF //MULTIPLE_LANGS
$$IF(HM_NOTE)

REM -- PLEASE NOTE: OEM VS. ANSI CHARACTER SET DIFFERENCES
REM -- Many of the file names below look wierd in most editors because they need to be 
REM -- in the OEM character set, not the ANSI character set, in order to make batch  
REM -- files work right. The output and editor windows work with the ANSI character set.  
REM -- Where names are seen only in the output window, they have been left in the 
REM -- ANSI character set.

$$ENDIF	//HM_NOTE
REM -- First make map file from Microsoft Visual C++ generated resource.h
echo // MAKEHELP.BAT generated Help Map file.  Used by $$ROOT$$.HPJ. >"hlp\$$HM_FILE_OEM$$.hm"
echo. >>"hlp\$$HM_FILE_OEM$$.hm"
echo // Commands (ID_* and IDM_*) >>"hlp\$$HM_FILE_OEM$$.hm"
makehm ID_,HID_,0x10000 IDM_,HIDM_,0x10000 resource.h >>"hlp\$$HM_FILE_OEM$$.hm"
echo. >>"hlp\$$HM_FILE_OEM$$.hm"
echo // Prompts (IDP_*) >>"hlp\$$HM_FILE_OEM$$.hm"
makehm IDP_,HIDP_,0x30000 resource.h >>"hlp\$$HM_FILE_OEM$$.hm"
echo. >>"hlp\$$HM_FILE_OEM$$.hm"
echo // Resources (IDR_*) >>"hlp\$$HM_FILE_OEM$$.hm"
makehm IDR_,HIDR_,0x20000 resource.h >>"hlp\$$HM_FILE_OEM$$.hm"
echo. >>"hlp\$$HM_FILE_OEM$$.hm"
echo // Dialogs (IDD_*) >>"hlp\$$HM_FILE_OEM$$.hm"
makehm IDD_,HIDD_,0x20000 resource.h >>"hlp\$$HM_FILE_OEM$$.hm"
echo. >>"hlp\$$HM_FILE_OEM$$.hm"
echo // Frame Controls (IDW_*) >>"hlp\$$HM_FILE_OEM$$.hm"
makehm IDW_,HIDW_,0x50000 resource.h >>"hlp\$$HM_FILE_OEM$$.hm"
REM -- Make help for Project $$ROOT$$

$$IF(TARGET_INTEL || TARGET_MIPS || TARGET_ALPHA)

echo Building Win32 Help files
$$IF(MULTIPLE_LANGS)
start /wait hcw /C /E /M "hlp\%1\$$root_oem$$.hpj"
if errorlevel 1 goto :Error
if not exist "hlp\%1\$$root_oem$$.hlp" goto :Error
if not exist "hlp\%1\$$root_oem$$.cnt" goto :Error
echo.
if exist Debug\nul copy "hlp\%1\$$root_oem$$.hlp" Debug
if exist Debug\nul copy "hlp\%1\$$root_oem$$.cnt" Debug
if exist Release\nul copy "hlp\%1\$$root_oem$$.hlp" Release
if exist Release\nul copy "hlp\%1\$$root_oem$$.cnt" Release
$$ELSE //!MULTIPLE_LANGS
start /wait hcw /C /E /M "hlp\$$root_oem$$.hpj"
if errorlevel 1 goto :Error
if not exist "hlp\$$root_oem$$.hlp" goto :Error
if not exist "hlp\$$root_oem$$.cnt" goto :Error
echo.
if exist Debug\nul copy "hlp\$$root_oem$$.hlp" Debug
if exist Debug\nul copy "hlp\$$root_oem$$.cnt" Debug
if exist Release\nul copy "hlp\$$root_oem$$.hlp" Release
if exist Release\nul copy "hlp\$$root_oem$$.cnt" Release
$$ENDIF //MULTIPLE_LANGS
echo.
$$ENDIF //INTEL/MIPS/ALPHA
goto :done

$$// Depending on multiple-languages, makehelp takes different args
$$IF(MULTIPLE_LANGS)
:Error
echo Usage MAKEHELP LanguageAbbreviation
echo       Where LanguageAbbreviation is one of $$LANG_LIST_SUFFIXES$$
$$ELSE //!MULTIPLE_LANGS
:Error
echo hlp\$$root$$.hpj(1) : error: Problem encountered creating help file
$$ENDIF //MULTIPLE_LANGS

:done
echo.

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -