Creating Embedded Windows

To create an embedded window, authors insert an embedded window reference in the RTF source file. This reference has the following general form:

{ewx DLL-name, window-class, author-data}

Parameter Description

x A character specifying the alignment of the window: l for a left-aligned window, r for a right-aligned window, or c for a character-aligned window.
DLL-name The name of the DLL that controls the embedded window. The file name should not include an extension or be fully qualified, but it can include a relative path. Windows Help assumes .DLL or .EXE to be the default extension.
window-class The name of the embedded window class as defined in the source code for the DLL.
author-data An arbitrary string, which Windows Help passes to the embedded window when it creates the window. This string can be one or more substrings separated by any punctuation mark except a comma. The DLL is responsible for parsing this string. The string is terminated by the closing brace (})

The following example shows a valid embedded window reference:

{ewl FADE, AmfWnd, clipbrd.amf}