Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- SourceInitialized += (s, e) =>
- {
- IntPtr handle = (new WindowInteropHelper(this)).Handle;
- HwndSource.FromHwnd(handle).AddHook(new HwndSourceHook(WindowProc));
- };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement