IApplicationDesignModeSettings::TriggerEdgeGesture method
Sends a spoofed edge gesture event to the proxy core window on the caller's thread. This gesture toggles the app's app bar, if the app supports one. The caller can specify the type of input that triggered the edge gesture.
You must call IInitializeWithWindow::Initialize to set a proxy core window before calling this method.
Syntax
HRESULT TriggerEdgeGesture(
[in] EDGE_GESTURE_KIND edgeGestureKind
);
Parameters
- edgeGestureKind [in]
-
Indicates the EDGE_GESTURE_KIND input type that generated the spoofed edge gesture. If touch (EGK_TOUCH) is specified, both the Starting and Completed edge gesture events are sent. Otherwise, only the Completed event is sent. One of the following values:
Return value
If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code, including the following:
| Return code | Description |
|---|---|
|
IInitializeWithWindow::Initialize has not been called to set a proxy core window. |
Requirements
|
Minimum supported client |
Windows 8 [desktop apps only] |
|---|---|
|
Minimum supported server |
Windows Server 2012 [desktop apps only] |
|
Header |
|
|
IDL |
|
|
DLL |
|
See also