com.jniwrapper.win32.hook
Class CBTEvent.Activate
java.lang.Object
java.util.EventObject
com.jniwrapper.win32.hook.HookEventObject
com.jniwrapper.win32.hook.CBTEvent
com.jniwrapper.win32.hook.CBTEvent.Activate
- All Implemented Interfaces:
- java.io.Serializable
- Enclosing class:
- CBTEvent
public static class CBTEvent.Activate
- extends CBTEvent
Represents HCBT_ACTIVATE
hook event.
- See Also:
- Serialized Form
Fields inherited from class java.util.EventObject |
source |
Constructor Summary |
CBTEvent.Activate(java.lang.Object source,
com.jniwrapper.Bool allow,
Wnd activeWindow,
Wnd activatedWindow,
boolean activatedByMouse)
|
Methods inherited from class java.util.EventObject |
getSource, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
CBTEvent.Activate
public CBTEvent.Activate(java.lang.Object source,
com.jniwrapper.Bool allow,
Wnd activeWindow,
Wnd activatedWindow,
boolean activatedByMouse)
getActiveWindow
public Wnd getActiveWindow()
- Handle to the active window.
- Returns:
- window handle
getActivatedWindow
public Wnd getActivatedWindow()
- Handle to the window about to be activated.
- Returns:
- window handle
isActivatedByMouse
public boolean isActivatedByMouse()
- Specifies whether the window is being activated as a result of a mouse click.
- Returns:
- true if window was activated by a mouse click; false otherwise.