MCPcopy Create free account
hub / github.com/MicrosoftEdge/WebView2Samples / About

Method About

SampleApps/WebView2SampleWinComp/AppWindow.cpp:132–148  ·  view source on GitHub ↗

Message handler for about box.

Source from the content-addressed store, hash-verified

130
131// Message handler for about box.
132INT_PTR CALLBACK AppWindow::About(HWND hDlg, UINT message, WPARAM wParam, LPARAM lParam)
133{
134 UNREFERENCED_PARAMETER(lParam);
135 switch (message)
136 {
137 case WM_INITDIALOG:
138 return (INT_PTR)TRUE;
139 case WM_COMMAND:
140 if (LOWORD(wParam) == IDOK || LOWORD(wParam) == IDCANCEL)
141 {
142 EndDialog(hDlg, LOWORD(wParam));
143 return (INT_PTR)TRUE;
144 }
145 break;
146 }
147 return (INT_PTR)FALSE;
148}
149
150void AppWindow::InitializeWebView()
151{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected