com.jniwrapper.win32.hook
Class CBTEvent.CreateWnd

java.lang.Object
  extended byjava.util.EventObject
      extended bycom.jniwrapper.win32.hook.HookEventObject
          extended bycom.jniwrapper.win32.hook.CBTEvent
              extended bycom.jniwrapper.win32.hook.CBTEvent.CreateWnd
All Implemented Interfaces:
java.io.Serializable
Enclosing class:
CBTEvent

public static class CBTEvent.CreateWnd
extends CBTEvent

Represents HCBT_CREATEWND hook event.

See Also:
Serialized Form

Nested Class Summary
 
Nested classes inherited from class com.jniwrapper.win32.hook.CBTEvent
CBTEvent.Activate, CBTEvent.ClickSkipped, CBTEvent.CreateWnd, CBTEvent.DestroyWnd, CBTEvent.KeySkipped, CBTEvent.MinMax, CBTEvent.MoveSize, CBTEvent.QS, CBTEvent.SetFocus, CBTEvent.SysCommand
 
Field Summary
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
CBTEvent.CreateWnd(java.lang.Object source, com.jniwrapper.Bool allow, Wnd newWindow, CREATESTRUCT createstruct, Wnd insertAfter)
           
 
Method Summary
 CREATESTRUCT getCreatestruct()
          Returns CREATESTRUCT structure of newly created window.
 Wnd getInsertAfter()
          Returns handle to the window whose position in the Z order precedes that of the window being created.
 Wnd getNewWindow()
          Returns the handle to the new window.
 
Methods inherited from class com.jniwrapper.win32.hook.CBTEvent
setAllow
 
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
 

Constructor Detail

CBTEvent.CreateWnd

public CBTEvent.CreateWnd(java.lang.Object source,
                          com.jniwrapper.Bool allow,
                          Wnd newWindow,
                          CREATESTRUCT createstruct,
                          Wnd insertAfter)
Method Detail

getNewWindow

public Wnd getNewWindow()
Returns the handle to the new window.

Returns:
window handle

getCreatestruct

public CREATESTRUCT getCreatestruct()
Returns CREATESTRUCT structure of newly created window.

Returns:
create window structure

getInsertAfter

public Wnd getInsertAfter()
Returns handle to the window whose position in the Z order precedes that of the window being created. Can be null.

Returns:
window handle