Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WebView SDK release tutorial Docs #103

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .openpublishing.publish.config.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"locale": "en-us",
"monikers": [],
"moniker_ranges": [
">= webview2-0.8.355 <= webview2-1.0.2849.39 || >= webview2-0.9.488-prerelease <= webview2-1.0.2895-prerelease"
">= webview2-0.8.355 <= webview2-1.0.2849.39 || >= webview2-0.9.488-prerelease <= webview2-1.0.2895-prerelease || webview2-win32-preview"
],
"open_to_public_contributors": false,
"type_mapping": {
Expand Down
69 changes: 69 additions & 0 deletions 1-0-2903-16/corewebview2_color.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,69 @@
---
description: A value representing RGBA color (Red, Green, Blue, Alpha) for WebView2.
title: WebView2 Win32 C++ COREWEBVIEW2_COLOR
ms.date: 10/29/2024
keywords: IWebView2, IWebView2WebView, webview2, webview, win32 apps, win32, edge, ICoreWebView2, ICoreWebView2Controller, browser control, edge html, COREWEBVIEW2_COLOR
topic_type:
- APIRef
api_name:
- COREWEBVIEW2_COLOR
- COREWEBVIEW2_COLOR.A
- COREWEBVIEW2_COLOR.B
- COREWEBVIEW2_COLOR.G
- COREWEBVIEW2_COLOR.R
api_type:
- COM
api_location:
- embeddedbrowserwebview.dll
---

# struct COREWEBVIEW2_COLOR

A value representing RGBA color (Red, Green, Blue, Alpha) for WebView2.

## Summary

Members | Descriptions
--------------------------------|---------------------------------------------
[A](#a) | Specifies the intensity of the Alpha ie.
[B](#b) | Specifies the intensity of the Blue color.
[G](#g) | Specifies the intensity of the Green color.
[R](#r) | Specifies the intensity of the Red color.

Each component takes a value from 0 to 255, with 0 being no intensity and 255 being the highest intensity.

## Applies to

Product | Introduced
--------------------------------|---------------------------------------------
WebView2 Win32 | N/A
WebView2 Win32 Prerelease |

## Members

#### A

Specifies the intensity of the Alpha ie.

> public BYTE [A](#a)

opacity value. 0 is transparent, 255 is opaque.

#### B

Specifies the intensity of the Blue color.

> public BYTE [B](#b)

#### G

Specifies the intensity of the Green color.

> public BYTE [G](#g)

#### R

Specifies the intensity of the Red color.

> public BYTE [R](#r)

83 changes: 83 additions & 0 deletions 1-0-2903-16/corewebview2_physical_key_status.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,83 @@
---
description: Contains the information packed into the `LPARAM` sent to a Win32 key event.
title: WebView2 Win32 C++ COREWEBVIEW2_PHYSICAL_KEY_STATUS
ms.date: 10/29/2024
keywords: IWebView2, IWebView2WebView, webview2, webview, win32 apps, win32, edge, ICoreWebView2, ICoreWebView2Controller, browser control, edge html, COREWEBVIEW2_PHYSICAL_KEY_STATUS
topic_type:
- APIRef
api_name:
- COREWEBVIEW2_PHYSICAL_KEY_STATUS
- COREWEBVIEW2_PHYSICAL_KEY_STATUS.IsExtendedKey
- COREWEBVIEW2_PHYSICAL_KEY_STATUS.IsKeyReleased
- COREWEBVIEW2_PHYSICAL_KEY_STATUS.IsMenuKeyDown
- COREWEBVIEW2_PHYSICAL_KEY_STATUS.RepeatCount
- COREWEBVIEW2_PHYSICAL_KEY_STATUS.ScanCode
- COREWEBVIEW2_PHYSICAL_KEY_STATUS.WasKeyDown
api_type:
- COM
api_location:
- embeddedbrowserwebview.dll
---

# struct COREWEBVIEW2_PHYSICAL_KEY_STATUS

Contains the information packed into the `LPARAM` sent to a Win32 key event.

## Summary

Members | Descriptions
--------------------------------|---------------------------------------------
[IsExtendedKey](#isextendedkey) | Indicates that the key is an extended key.
[IsKeyReleased](#iskeyreleased) | Indicates that the key was released.
[IsMenuKeyDown](#ismenukeydown) | Indicates that a menu key is held down (context code).
[RepeatCount](#repeatcount) | Specifies the repeat count for the current message.
[ScanCode](#scancode) | Specifies the scan code.
[WasKeyDown](#waskeydown) | Indicates that the key was held down.

For more information about `WM_KEYDOWN`, navigate to [WM_KEYDOWN message](/windows/win32/inputdev/wm-keydown).

## Applies to

Product | Introduced
--------------------------------|---------------------------------------------
WebView2 Win32 | N/A
WebView2 Win32 Prerelease |

## Members

#### IsExtendedKey

Indicates that the key is an extended key.

> public BOOL [IsExtendedKey](#isextendedkey)

#### IsKeyReleased

Indicates that the key was released.

> public BOOL [IsKeyReleased](#iskeyreleased)

#### IsMenuKeyDown

Indicates that a menu key is held down (context code).

> public BOOL [IsMenuKeyDown](#ismenukeydown)

#### RepeatCount

Specifies the repeat count for the current message.

> public UINT32 [RepeatCount](#repeatcount)

#### ScanCode

Specifies the scan code.

> public UINT32 [ScanCode](#scancode)

#### WasKeyDown

Indicates that the key was held down.

> public BOOL [WasKeyDown](#waskeydown)

Loading