Create Placeholder for Helper Windows Imprimir este apartado Página anterior Subir un nivel Página siguiente

Inicio >  Referencia del programador > ActiveX Integration > ActiveX Integration Examples > HTML > HTML Integration at Document Level >

Create Placeholder for Helper Windows

The StyleVisionControlPlaceHolder control is required to host an application helper window, see also Integration at Document Level. For example, in the code listing below, the HTML object tag is used to instantiate a control that will host the Message window.


<!-- create Message window placeholder control.          -->
<!-- the editor with focus will automatically direct its -->
<!-- output to the appropriate helper window.            -->
<object id="objMessageWindow" classid="clsid:E6ECBA9C-0E01-4FD5-98C3-C08B3D4824BC" width="400" height="200" VIEWASTEXT>
  <param name="PlaceholderWindowID" value="-1">


Notice that the PlaceholderWindowID parameter is set to -1, which means that, initially, no helper window is shown. Whenever a file is open, the method DisplayHelperWindowsContent() is invoked. This method assigns the appropriate PlaceholderWindowID to each control. For the list of possible values of PlaceholderWindowID, see StyleVisionControlPlaceholderWindow.

© 2019 Altova GmbH