Enables an application to dynamically control what is displayed in an IPF window.
Syntax
ÚÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÂÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÂÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÂÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ¿ ³Tag ³Element ³Attributes ³End ³ ÃÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÅÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÅÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÅÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ´ ³:acviewport. ³Have IPF call a³dll=' ' ³ ³ ³ ³function in a ³objectname=' ' ³ ³ ³ ³dynamic-link ³objectinfo=' ' ³ ³ ³ ³module. ³objectid=' ' ³ ³ ÃÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÅÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÅÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÅÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ´ ³ ³Define the ³vpx= ³ ³ ³ ³window in which³vpy= ³ ³ ³ ³the function ³vpcx= ³ ³ ³ ³runs. ³vpcy= ³ ³ ÀÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÁÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÁÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÁÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÙ
Attributes
dll=' '
These attributes can be expressed as absolute values, relative values, or dynamic values:
Absolute value:
c
left | center | right
Description
:acviewport. is used in either a help file or an online document file to specify that a window will be under the control of a routine that was written and compiled as part of a dynamic-link module. When an IPF window is selected for display at run time, and :acviewport. is encountered, IPF passes control to the entry point (objectname=) in the dynamic-link module. At this point, the routine in the module takes control. For more information, see Customizing IPF with Communication Objects.
The definition for :acviewport. must follow a primary heading; for example:
:h2 res=2000 x=left y=top width=100% height=100% scroll=none titlebar=both clear group=1.Information Windows :acviewport dll='My_DLL' objectname='My_Routine' objectid='1' vpx=right vpy=top vpcx=50% vpcy=100%
In the example, a window is displayed within the primary window indicated by the heading tag (:h2.) and its attributes. The contents of the window are controlled by the communication object, My_Routine, in the dynamic-link module, My_DLL.
When the user selects the primary window and :acviewport. tag is encountered, IPF calls the communication object in the dynamic-link module and sizes the child window.