public WpfFlashControl() { InitializeComponent(); IninitFlashComponent(); this._wpr = new MyFlashWndProc(this.FlashWndProc); this._oldWndProc = SetWindowLong(_flash.Handle, GWL_WNDPROC, _wpr); }
public static extern IntPtr SetWindowLong(IntPtr hWnd, int nIndex, MyFlashWndProc wndProc);