Click to return to the HTML Help home page    
ALink     Contents     HTML Help ActiveX Control...    
Web Workshop  |  DHTML, HTML & CSS  |  HTML Help

Close Command


Microsoft Corporation

Updated June 10, 1999

Purpose

Closes the window in which the current topic appears.

You can use the Close command to close a secondary window that does not include a Close button.

The Close command could also be used with a help wizard. For example, a user could answer the question "Did this solve your problem?" by clicking No, which would link to the next topic, or clicking Yes, which would close the window.

This command can be used only with a compiled help (.chm) file.

Syntax

<PARAM  name="Command" value="Close">

[<PARAM name="Button" value="[Text: Button text|Bitmap: Bitmap file path|Icon:Icon file path]">]
[<PARAM name="Font" value="Facename[, point size[, charset[, color[, PLAIN BOLD ITALIC UNDERLINE]]]]">]
[<PARAM name="Text" value="Text: Link text">]

Property Description
Button Specifies the button style. Optional.
Command Calls the Close command.
Font Specifies the font attributes. Optional.
Text Specifies the link text. Optional.

Example

<OBJECT

id=MyControl
type="application/x-oleobject"
classid="clsid:adb880a6-d8ff-11cf-9377-00aa003b7a11"
codebase="HHCTRL.ocx#Version=4,72,8252,0"
width=100
height=100
>
<PARAM name="Command" value="Close">
<PARAM name="Button" value="Text:Close this window!"> </OBJECT>

Comments


link to overview topic About commands
 


Back to topBack to top

Did you find this material useful? Gripes? Compliments? Suggestions for other articles? Write us!

© 1999 Microsoft Corporation. All rights reserved. Terms of use.