Microsoft SDK for Java

ActiveXControl Class Methods

The ActiveXControl Class contains the following methods:

activate tells the control to become in-place active.
activateNoGUI activates a non-GUI control.
addActiveXControlListener adds an ActiveXControlListener object that listens to events sourced by the ActiveXControl class.
createControl creates an ActiveXControl object that is a container for an ActiveX control.
finalize removes the ActiveX control from memory.
getMinimumSize retrieves the minimum size of the ActiveXControl object.
getPreferredSize retrieves the preferred size of the ActiveXControl object.
isFocusTraversable tells the window manager that we want focus.
processComponentEvent processes the events from the component.
processFocusEvent processes focus events.
removeActiveXControlListener removes an ActiveXControlListener object from the list of interested listeners.
removeNotify destroys the component's peer.
setBackground sets the background color of the component.
setDesignMode tells the ActiveX control to go into design mode.
setFont sets the font of the component.
setForeground sets the foreground color of the component.
setProperty sets a string property of the ActiveX control.
showPropertyDialog queries an ActiveX control for its property pages and displays the property dialog box.

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