Skip to content

Commit 93d0b29

Browse files
Merge pull request #1789 from bartlannoeye/Issue-1785
Close code block
2 parents e9dc271 + 970e371 commit 93d0b29

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

hub/apps/desktop/modernize/using-the-visual-layer-with-windows-forms.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -125,6 +125,7 @@ This is where you do most of the configuration for hosting Composition APIs. In
125125
// Build Composition tree of content.
126126
InitComposition(hwndHost);
127127
}
128+
```
128129

129130
1. Initialize a thread with a [CoreDispatcher](/uwp/api/windows.ui.core.coredispatcher). The core dispatcher is responsible for processing window messages and dispatching events for WinRT APIs. New instances of **Compositor** must be created on a thread that has a CoreDispatcher.
130131
- Create a method named _InitializeCoreDispatcher_ and add code to set up the dispatcher queue.

0 commit comments

Comments
 (0)