Xojo Conferences
XDCMay2019MiamiUSA

Platforms to show: All Mac Windows Linux Cross-Platform

WinPointerEventsMBS.EnableMouseInPointer(enable as boolean) as boolean
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
shared method Windows MBS Win Plugin 16.2 No Yes No Yes, Windows only No
Function: Enables the mouse to act as a pointer input device and send pointer events.
Notes:
Requires Windows 8 or newer.

If the function succeeds, the return value is true.
If the function fails, the return value is false.
To get extended error information, call GetLastError.

This function can be called only once in the context of a process lifetime. Prior to the first call, Windows Store apps run with mouse-in-pointer enabled, as do any desktop applications that consume mshtml.dll. All other desktop applications run with mouse-in-pointer disabled.

On the first call in the process lifetime, the state is changed as specified and the call succeeds.
On subsequent calls, the state will not change. If the current state is not equal to the specified state, the call fails.

Call IsMouseInPointerEnabled to verify the mouse-in-pointer state.

Feedback, Comments & Corrections

WinPointerEventsMBS.GetGestureConfig(Control as RectControl, config() as WinGestureConfigMBS, flags as Integer = 0) as Integer
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
shared method Windows MBS Win Plugin 17.0 No Yes No No No
Function: Retrieves the configuration for which Windows Touch gesture messages are sent from a window.
Notes: Same as other GetGestureConfig, but for a control, not a window.

See also:

Feedback, Comments & Corrections

WinPointerEventsMBS.GetGestureConfig(win as window, config() as WinGestureConfigMBS, flags as Integer = 0) as Integer
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
shared method Windows MBS Win Plugin 16.2 No Yes No No No
Function: Retrieves the configuration for which Windows Touch gesture messages are sent from a window.
Notes:
win: The window to get the gesture configuration from.
Flags: A gesture command flag value indicating options for retrieving the gesture configuration. Can be 1 to return consolidated configuration for the specified window and its parent window chain.
Config: an array of gesture configuration structures that specify the gesture configuration.

Please pass an empty array and the plugin appends config objects.

Return function returns number of configs found.
Returns -1 in case of error.

See also:

Feedback, Comments & Corrections

WinPointerEventsMBS.IsMouseInPointerEnabled as boolean
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
shared method Windows MBS Win Plugin 16.2 No Yes No Yes, Windows only No
Function: Indicates whether EnableMouseInPointer is set for the mouse to act as a pointer input device and send pointer events.
Notes:
Requires Windows 8 or newer.

If EnableMouseInPointer is set, the return value is true.
If EnableMouseInPointer is not set, the return value is false.

EnableMouseInPointer can be called only once in the context of a process lifetime. Prior to the first call, Windows Store apps run with mouse-in-pointer enabled, as do any desktop applications that consume mshtml.dll. All other desktop applications run with mouse-in-pointer disabled.
On the first call to EnableMouseInPointer in the process lifetime, the state is changed as specified and the call succeeds.
On subsequent calls to EnableMouseInPointer, the state will not change. If the current state is not equal to the specified state, the call fails.
Call IsMouseInPointerEnabled to verify the mouse-in-pointer state.

Feedback, Comments & Corrections

WinPointerEventsMBS.SetGestureConfig(Control as RectControl, config() as WinGestureConfigMBS = nil) as boolean
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
shared method Windows MBS Win Plugin 17.0 No Yes No No No
Function: Configures the messages that are sent from a window for Windows Touch gestures.
Notes: Same as other SetGestureConfig, but for a control, not a window.

See also:

Feedback, Comments & Corrections

WinPointerEventsMBS.SetGestureConfig(win as window, config() as WinGestureConfigMBS = nil) as boolean
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
shared method Windows MBS Win Plugin 16.2 No Yes No No No
Function: Configures the messages that are sent from a window for Windows Touch gestures.
Notes:
Win: The window to set the gesture configuration on.
config: An array of gesture configuration structures that specify the gesture configuration.

If the function succeeds, the return value is true, else false.

If you don't expect to change the gesture configuration, call SetGestureConfig at window creation time. If you want to dynamically change the gesture configuration, call SetGestureConfig in response to GestureNotify event.

See also:

Feedback, Comments & Corrections

The items on this page are in the following plugins: MBS Win Plugin.




Links
MBS Xojo PDF Plugins