Platforms to show: All Mac Windows Linux Cross-Platform

WinPointerEventsMBS.EnableMouseInPointer(enable as boolean) as boolean
Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method Windows MBS Win Plugin 16.2 ❌ No ✅ Yes ❌ No ❌ No Desktop, Console & Web
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.

Some examples using this method:

WinPointerEventsMBS.GetGestureConfig(Control as DesktopUIControl, config() as WinGestureConfigMBS, flags as Integer = 0) as Integer
Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method Windows MBS Win Plugin 22.0 ❌ No ✅ Yes ❌ No ❌ No Desktop only
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:

WinPointerEventsMBS.GetGestureConfig(Control as RectControl, config() as WinGestureConfigMBS, flags as Integer = 0) as Integer
Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method Windows MBS Win Plugin 17.0 ❌ No ✅ Yes ❌ No ❌ No Desktop only
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:

WinPointerEventsMBS.GetGestureConfig(win as DesktopWindow, config() as WinGestureConfigMBS, flags as Integer = 0) as Integer
Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method Windows MBS Win Plugin 22.0 ❌ No ✅ Yes ❌ No ❌ No Desktop only
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:

WinPointerEventsMBS.GetGestureConfig(win as window, config() as WinGestureConfigMBS, flags as Integer = 0) as Integer
Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method Windows MBS Win Plugin 16.2 ❌ No ✅ Yes ❌ No ❌ No Desktop only
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:

WinPointerEventsMBS.IsMouseInPointerEnabled as boolean
Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method Windows MBS Win Plugin 16.2 ❌ No ✅ Yes ❌ No ❌ No Desktop, Console & Web
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.
WinPointerEventsMBS.SetGestureConfig(Control as DesktopUIControl, config() as WinGestureConfigMBS = nil) as boolean
Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method Windows MBS Win Plugin 22.0 ❌ No ✅ Yes ❌ No ❌ No Desktop only
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:

Some examples using this method:

WinPointerEventsMBS.SetGestureConfig(Control as RectControl, config() as WinGestureConfigMBS = nil) as boolean
Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method Windows MBS Win Plugin 17.0 ❌ No ✅ Yes ❌ No ❌ No Desktop only
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:

WinPointerEventsMBS.SetGestureConfig(win as DesktopWindow, config() as WinGestureConfigMBS = nil) as boolean
Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method Windows MBS Win Plugin 22.0 ❌ No ✅ Yes ❌ No ❌ No Desktop only
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:

WinPointerEventsMBS.SetGestureConfig(win as window, config() as WinGestureConfigMBS = nil) as boolean
Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method Windows MBS Win Plugin 16.2 ❌ No ✅ Yes ❌ No ❌ No Desktop only
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:

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

Feedback: Report problem or ask question.

The biggest plugin in space...


Start Chat