public class AtlLib
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
dllName
Should look for PartnerAtl.dll.
|
| Constructor and Description |
|---|
AtlLib() |
| Modifier and Type | Method and Description |
|---|---|
static long |
AtlAxCreateControlLic(java.lang.String name,
long hwnd,
java.lang.String license)
Creates a licensed ActiveX control, initializes it, and hosts it in the
specified window.
|
static long |
AtlAxGetControl(long hwnd) |
static boolean |
AtlAxWinInit()
Calling this multiple times is fine, I think.
|
static boolean |
checkAtlLibrary() |
static java.lang.String |
GetWndClassName() |
public static final java.lang.String dllName
public static long AtlAxCreateControlLic(java.lang.String name,
long hwnd,
java.lang.String license)
name - the ProgID, CLSID, URL, or reference to an ActiveX document.hwnd - parent window handle.license - the license for the control.java.lang.RuntimeException - if the call fails.public static boolean AtlAxWinInit()
public static long AtlAxGetControl(long hwnd)
public static java.lang.String GetWndClassName()
public static boolean checkAtlLibrary()