Tech Info

A lot of help files have links to the Control Panel. How do you define such a link for HTML Help? How do you call the Control Panel?

This is easy in WinHelp because of the ControlPanel macro. In HTML Help you can use the ShortCut command of HHCTRL. For example, the following object tag will show the Display Properties dialog box from Control Panel:

<OBJECT id=hhctrl type="application/x-oleobject"
classid="clsid:adb880a6-d8ff-11cf-9377-00aa003b7a11"
codebase="hhctrl.ocx#Version=4,73,8252,0"
width=100
height=100>
<PARAM
name="Command" value="ShortCut">
<PARAM
name="Button" value="Text:Display Properties">
<PARAM
name="Item1" value=",rundll32.exe,shell32.dll,Control_RunDLL desk.cpl">
</OBJECT>

Return to topReturn to top