com.jniwrapper.win32.hook
Class CBTEvent.SysCommand

java.lang.Object
  extended by java.util.EventObject
      extended by com.jniwrapper.win32.hook.HookEventObject
          extended by com.jniwrapper.win32.hook.CBTEvent
              extended by com.jniwrapper.win32.hook.CBTEvent.SysCommand
All Implemented Interfaces:
java.io.Serializable
Enclosing class:
CBTEvent

public static class CBTEvent.SysCommand
extends CBTEvent

Represents SYSCOMMAND hook event.

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces 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.SysCommand(java.lang.Object source, com.jniwrapper.Bool allow, long sysCommand, long info)
           
 
Method Summary
 long getInfo()
          The low-order word specifies the horizontal position of the cursor, in screen coordinates, if a window menu command is chosen with the mouse.
 long getSysCommand()
          Specifies a system-command value (SC_) specifying the system command.
 
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.SysCommand

public CBTEvent.SysCommand(java.lang.Object source,
                           com.jniwrapper.Bool allow,
                           long sysCommand,
                           long info)
Method Detail

getSysCommand

public long getSysCommand()
Specifies a system-command value (SC_) specifying the system command.

Returns:
system-command value

getInfo

public long getInfo()
The low-order word specifies the horizontal position of the cursor, in screen coordinates, if a window menu command is chosen with the mouse. Otherwise, this parameter is not used.
The high-order word specifies the vertical position of the cursor, in screen coordinates, if a window menu command is chosen with the mouse. This parameter is 1 if the command is chosen using a system accelerator, or zero if using a mnemonic.

Returns:
info