mirror of
https://github.com/Stone-Red-Code/docs-desktop.git
synced 2026-09-04 23:43:39 +02:00
* Reset branch for WPF changes * Convert BMP to PNG; fix link-out-of-scope err * Add snippets for WPF... 6794 files!!!! * Add missing snippets * update file updated between migration * Fix paths to include * update breadcrumb and toc * fix index links * fix index links * fix index links * fix markdown
40 lines
1.0 KiB
Markdown
40 lines
1.0 KiB
Markdown
---
|
|
title: "SetFakeActiveWindow Function - WPF unmanaged API reference"
|
|
titleSuffix: ""
|
|
ms.date: "03/30/2017"
|
|
dev_langs:
|
|
- "cpp"
|
|
api_name:
|
|
- "SetFakeActiveWindow"
|
|
api_location:
|
|
- "PresentationHost_v0400.dll"
|
|
ms.assetid: a69118be-63b0-445c-9fb6-ab8cc958e531
|
|
---
|
|
# SetFakeActiveWindow Function (WPF Unmanaged API Reference)
|
|
This API supports the Windows Presentation Foundation (WPF) infrastructure and is not intended to be used directly from your code.
|
|
|
|
Used by the Windows Presentation Foundation (WPF) infrastructure for windows management.
|
|
|
|
## Syntax
|
|
|
|
```cpp
|
|
void __stdcall SetFakeActiveWindow(
|
|
HWND hwnd
|
|
)
|
|
```
|
|
|
|
## Parameters
|
|
hwnd
|
|
A window handle.
|
|
|
|
## Requirements
|
|
**Platforms:** See [.NET Framework System Requirements](/dotnet/framework/get-started/system-requirements).
|
|
|
|
**DLL:** PresentationHost_v0400.dll
|
|
|
|
**.NET Framework Version:** [!INCLUDE[net_current_v40plus](../../../includes/net-current-v40plus-md.md)]
|
|
|
|
## See also
|
|
|
|
- [WPF Unmanaged API Reference](wpf-unmanaged-api-reference.md)
|