wHiteRabbiT-sTudio Framework
|
Class to support access to Wintab context management. More...
Public Member Functions | |
CWintabContext () | |
Default constructor sets all data bits to be captured. More... | |
HCTX | Open (HWND hwnd_I, bool enable_I) |
Open a Wintab context to the specified hwnd. More... | |
bool | Open () |
Open a Wintab context that will send packet events to a message window. More... | |
bool | Close () |
Close the context for this object. More... | |
bool | Enable (bool enable_I) |
Enable/disable this Wintab context. More... | |
bool | SetOverlapOrder (bool toTop_I) |
Sends a tablet context to the top or bottom of the order of overlapping tablet contexts More... | |
Properties | |
WintabLogContext | LogContext [get, set] |
Logical Wintab context managed by this object. More... | |
HCTX | HCtx [get] |
Handle (identifier) used to identify this context. More... | |
string | Name [get, set] |
Get/Set context name. More... | |
UInt32 | Options [get, set] |
Specifies options for the context. More... | |
UInt32 | Status [get, set] |
Specifies current status conditions for the context. More... | |
UInt32 | Locks [get, set] |
Specifies which attributes of the context the application wishes to be locked. More... | |
UInt32 | MsgBase [get, set] |
Specifies the range of message numbers that will be used for reporting the activity of the context. More... | |
UInt32 | Device [get, set] |
Specifies the device whose input the context processes. More... | |
UInt32 | PktRate [get, set] |
Specifies the desired packet report rate in Hertz. More... | |
WTPKT | PktData [get, set] |
Specifies which optional data items will be in packets returned from the context. More... | |
WTPKT | PktMode [get, set] |
Specifies whether the packet data items will be returned in absolute or relative mode. More... | |
WTPKT | MoveMask [get, set] |
Specifies which packet data items can generate move events in the context. More... | |
UInt32 | BtnDnMask [get, set] |
Specifies the buttons for which button press events will be processed in the context. More... | |
UInt32 | BtnUpMask [get, set] |
Specifies the buttons for which button release events will be processed in the context. More... | |
Int32 | InOrgX [get, set] |
Specifies the X origin of the context's input area in the tablet's native coordinates. More... | |
Int32 | InOrgY [get, set] |
Specifies the Y origin of the context's input area in the tablet's native coordinates. More... | |
Int32 | InOrgZ [get, set] |
Specifies the Z origin of the context's input area in the tablet's native coordinates. More... | |
Int32 | InExtX [get, set] |
Specifies the X extent of the context's input area in the tablet's native coordinates. More... | |
Int32 | InExtY [get, set] |
Specifies the Y extent of the context's input area in the tablet's native coordinates. More... | |
Int32 | InExtZ [get, set] |
Specifies the Z extent of the context's input area in the tablet's native coordinates. More... | |
Int32 | OutOrgX [get, set] |
Specifies the X origin of the context's output area in context output coordinates. More... | |
Int32 | OutOrgY [get, set] |
Specifies the Y origin of the context's output area in context output coordinates. More... | |
Int32 | OutOrgZ [get, set] |
Specifies the Z origin of the context's output area in context output coordinates. More... | |
Int32 | OutExtX [get, set] |
Specifies the X extent of the context's output area in context output coordinates. More... | |
Int32 | OutExtY [get, set] |
Specifies the Y extent of the context's output area in context output coordinates. More... | |
Int32 | OutExtZ [get, set] |
Specifies the Z extent of the context's output area in context output coordinates. More... | |
FIX32 | SensX [get, set] |
Specifies the relative-mode sensitivity factor for the x axis. More... | |
FIX32 | SensY [get, set] |
Specifies the relative-mode sensitivity factor for the y axis. More... | |
FIX32 | SensZ [get, set] |
Specifies the relative-mode sensitivity factor for the Z axis. More... | |
bool | SysMode [get, set] |
Specifies the system cursor tracking mode. More... | |
Int32 | SysOrgX [get, set] |
Specifies the X origin of the screen mapping area for system cursor tracking, in screen coordinates. More... | |
Int32 | SysOrgY [get, set] |
Specifies the Y origin of the screen mapping area for system cursor tracking, in screen coordinates. More... | |
Int32 | SysExtX [get, set] |
Specifies the X extent of the screen mapping area for system cursor tracking, in screen coordinates. More... | |
Int32 | SysExtY [get, set] |
Specifies the Y extent of the screen mapping area for system cursor tracking, in screen coordinates. More... | |
FIX32 | SysSensX [get, set] |
Specifies the system-cursor relative-mode sensitivity factor for the x axis. More... | |
FIX32 | SysSensY [get, set] |
Specifies the system-cursor relative-mode sensitivity factor for the y axis. More... | |
Class to support access to Wintab context management.
wHiteRabbiT.Common.Wacom.CWintabContext.CWintabContext | ( | ) |
Default constructor sets all data bits to be captured.
bool wHiteRabbiT.Common.Wacom.CWintabContext.Close | ( | ) |
Close the context for this object.
bool wHiteRabbiT.Common.Wacom.CWintabContext.Enable | ( | bool | enable_I | ) |
Enable/disable this Wintab context.
enable_I | true = enable |
Open a Wintab context to the specified hwnd.
hwnd_I | parent window for the context |
enable_I | true to enable, false to disable |
bool wHiteRabbiT.Common.Wacom.CWintabContext.Open | ( | ) |
Open a Wintab context that will send packet events to a message window.
bool wHiteRabbiT.Common.Wacom.CWintabContext.SetOverlapOrder | ( | bool | toTop_I | ) |
Sends a tablet context to the top or bottom of the order of overlapping tablet contexts
toTop_I | true = send tablet to top of order |
|
getset |
Specifies the buttons for which button press events will be processed in the context.
In the case of overlapping contexts, button press events for buttons that are not selected in this field may be processed by underlying contexts.
|
getset |
Specifies the buttons for which button release events will be processed in the context.
In the case of overlapping contexts, button release events for buttons that are not selected in this field may be processed by underlying contexts. If both press and release events are selected for a button (see the BtnDnMask property), then the interface will cause the context to implicitly capture all tablet events while the button is down. In this case, events occurring outside the context will be clipped to the context and processed as if they had occurred in the context. When the button is released, the context will receive the button release event, and then event processing will return to normal.
|
getset |
Specifies the device whose input the context processes.
|
get |
Handle (identifier) used to identify this context.
|
getset |
Specifies the X extent of the context's input area in the tablet's native coordinates.
Value is clipped to the tablet native coordinate space when the context is opened or modified.
|
getset |
Specifies the Y extent of the context's input area in the tablet's native coordinates.
Value is clipped to the tablet native coordinate space when the context is opened or modified.
|
getset |
Specifies the Z extent of the context's input area in the tablet's native coordinates.
Value is clipped to the tablet native coordinate space when the context is opened or modified.
|
getset |
Specifies the X origin of the context's input area in the tablet's native coordinates.
Value is clipped to the tablet native coordinate space when the context is opened or modified.
|
getset |
Specifies the Y origin of the context's input area in the tablet's native coordinates.
Value is clipped to the tablet native coordinate space when the context is opened or modified.
|
getset |
Specifies the Z origin of the context's input area in the tablet's native coordinates.
Value is clipped to the tablet native coordinate space when the context is opened or modified.
|
getset |
Specifies which attributes of the context the application wishes to be locked.
Lock conditions specify attributes of the context that cannot be changed once the context has been opened (calls to WTConfig will have no effect on the locked attributes). The lock conditions can be combined by using the bitwise OR operator. The lcLocks field can be any combination of the values defined in ECTXLockValues. Locks can only be changed by the task or process that owns the context.
|
getset |
Logical Wintab context managed by this object.
|
getset |
Specifies which packet data items can generate move events in the context.
Bits for items that are not part of the packet definition in the PktData property will be ignored. The bits for buttons, time stamp, and the packet identifier will also be ignored. In the case of overlapping contexts, movement events for data items not selected in this field may be processed by underlying contexts.
|
getset |
Specifies the range of message numbers that will be used for reporting the activity of the context.
|
getset |
Get/Set context name.
|
getset |
Specifies options for the context.
These options can be combined by using the bitwise OR operator. The lcOptions field can be any combination of the values defined in ECTXOptionValues.
|
getset |
Specifies the X extent of the context's output area in context output coordinates.
Value is used in coordinate scaling for absolute mode only.
|
getset |
Specifies the Y extent of the context's output area in context output coordinates.
Value is used in coordinate scaling for absolute mode only.
|
getset |
Specifies the Z extent of the context's output area in context output coordinates.
Value is used in coordinate scaling for absolute mode only.
|
getset |
Specifies the X origin of the context's output area in context output coordinates.
Value is used in coordinate scaling for absolute mode only.
|
getset |
Specifies the Y origin of the context's output area in context output coordinates.
Value is used in coordinate scaling for absolute mode only.
|
getset |
Specifies the Z origin of the context's output area in context output coordinates.
Value is used in coordinate scaling for absolute mode only.
|
getset |
Specifies which optional data items will be in packets returned from the context.
Requesting unsupported data items will cause Open() to fail.
|
getset |
Specifies whether the packet data items will be returned in absolute or relative mode.
If the item's bit is set in this field, the item will be returned in relative mode. Bits in this field for items not selected in the PktData property will be ignored. Bits for data items that only allow one mode (such as the packet identifier) will also be ignored.
|
getset |
Specifies the desired packet report rate in Hertz.
Once the con-text is opened, this field will contain the actual report rate.
|
getset |
Specifies the relative-mode sensitivity factor for the x axis.
|
getset |
Specifies the relative-mode sensitivity factor for the y axis.
|
getset |
Specifies the relative-mode sensitivity factor for the Z axis.
|
getset |
Specifies current status conditions for the context.
These conditions can be combined by using the bitwise OR operator. The lcStatus field can be any combination of the values defined in ECTXStatusValues.
|
getset |
Specifies the X extent of the screen mapping area for system cursor tracking, in screen coordinates.
|
getset |
Specifies the Y extent of the screen mapping area for system cursor tracking, in screen coordinates.
|
getset |
Specifies the system cursor tracking mode.
Zero specifies absolute; non-zero means relative.
|
getset |
Specifies the X origin of the screen mapping area for system cursor tracking, in screen coordinates.
|
getset |
Specifies the Y origin of the screen mapping area for system cursor tracking, in screen coordinates.
|
getset |
Specifies the system-cursor relative-mode sensitivity factor for the x axis.
|
getset |
Specifies the system-cursor relative-mode sensitivity factor for the y axis.