In my wpf project, i am hosting a win 32 window with listbox control. In this, is it possible to get that Win 32 window in Message Hook event handler?
var view = new Win32Host(source.Handle, mViewMgr);
view.MessageHook += View_MessageHook;
IntPtr View_MessageHook(IntPtr hwnd, int msg, IntPtr wParam, IntPtr lParam, ref bool handled)
{
handled = false;
}
Any one please provide your suggestion to me?