HHP格式解析

2021-04-01 21:08:34 字數 2099 閱讀 8310

hhp格式解析!

[options]

compatibility=1.1 or later'版本

compiled file=vbp_htmlhelpmaker.chm'編譯後的檔名稱.路徑相對與本工程的具體路徑.

contents file=table of contents.hhc '內容表檔案.hhc

default window=main'預設窗體

default topic=vbp_htmlhelpmaker.htm'預設主題.即開啟乙個 chm後首先顯示的頁面.

display compile progress=no '編譯時是否顯示進度

index file=index.hhk '索引檔案路徑.具體路徑相對與當前工程路徑.

language=0x804 中文(中國)

[windows]

main="vbp_htmlhelpmaker","table of contents.hhc","index.hhk","vbp_htmlhelpmaker.htm","vbp_htmlhelpmaker.htm", "d:/project/coderhelper/htmlhelpwizard/help/_homepage.htm","公司主頁","d:/project/coderhelper/htmlhelpwizard/help/_produce.htm","產品支援",0x2120,,0xc000e,[271,372,593,566],,,,,,,0

'main窗體的屬性.

[files]'此字段中放置所有需要的html檔案.路徑相對與當前工程路徑

vbp_htmlhelpmaker.htm

vbp_htmlhelpmaker/htmlhelpmaker.htm

[alias]'常量對映.每個商量對應乙個 html檔案.具體常量指定的常數由map欄位的內容指定.

hp_vbp_htmlhelpmaker=vbp_htmlhelpmaker.htm

hp_htmlhelpmaker=vbp_htmlhelpmaker/htmlhelpmaker.htm

hp_htmlhelpmaker_chhtmlhelpmaker=vbp_htmlhelpmaker/htmlhelpmaker/chhtmlhelpmaker.htm

[map]'指定包含檔案.

#include include.h

[infotypes]其它.在此不做詳細介紹.

.h檔案說明.

#define hp_vbp_htmlhelpmaker 1000

#define hp_htmlhelpmaker 1001

#define hp_htmlhelpmaker_chhtmlhelpmaker 1002

#define hp_htmlhelpmaker_chhtmlhelpmaker_show 1003

#define hp_htmlhelpmaker_frmconfirm 1004

#define hp_htmlhelpmaker_frmconfirm_txtconst 1005

這些常量對應常數.當使用htmlhelp函式呼叫時,你可以指定該 常數.將為你開啟常量所對應的html檔案.關於htmlhelp使用方法請參見htmlhelp.chm::/helpref.htm 的介紹.

在vb中.helpcontextid 屬性的值應該是以上常數值.在此物件上按f1後,將自動開啟程式幫助檔案chm中的html頁面.此頁面是由以上值來對映的.

內容表檔案是採用html格式來標識的.

索引檔案格式

'注意,在索引檔案中不建議使用縮排標誌.如果使用.將會帶來很多檢視上的麻煩.大家可以看到.在微軟的幫助chm中.基本是沒有在索引中使用縮排方式的.但是部分msdn的chm中使用了該.這是當內容量大而複雜.一些物件不屬於乙個體系但是名稱又相同.因此就出現了子項!

'名稱.

'對應的檔案.

'開啟的視窗名稱.

你需要注意的是.手動編寫這些東西是很麻煩的.那麼使用coderhelper為vb6製做幫助是件讓你非常愜意的事情.他的工具將為你自動編寫所有檔案.同時填寫每乙個物件的helpcontextid值.在執行後.只要在物件上按f1即可顯示出該物件的幫助內容.

TIFF World File TFW 格式解析

tiff world file tfw 格式說明摘要 tfw檔案包含相關的tiff檔案的空間引數 spatial reference 資料。本文詳細描述了tfw檔案中定義的引數。概述 兩個檔案構成tfw格式。ascii 標頭檔案 圖象檔案 圖象檔案為tiff格式 未壓縮 詳細資料 tfw檔案的名字與...

mov格式解析

peter lee 2008 06 14 一 簡介 二 原子 原子是quicktime用來構建等級資料結構的基本容器。新建立的quicktime原子就象樹的根。隨後的每個原子都包含在其中並且包含資料和其它原子。如果乙個quicktime原子包含其它原子,就被叫做父原子,包含在其中的原子就叫做葉原子。...

bmp格式解析

寫這 時,出現的錯誤 1.忘了on wm paint 一直在介面上畫不出來 找了好久 2.正確寫法 byte pbits byte lpbase pbitmapfileheader bfoffbits 寫成了byte pbits pbitmapfileheader bfoffbits cpp inc...