In .NET you can get WndProc messages in a message class. In this class there is a Result Proporty. In WPF I cannot use this class. To override the WndProc in WPF you need to use.
In VB
Private Function WndProc(ByVal hwnd As IntPtr, ByVal msg As Integer, ByVal wParam As IntPtr, ByVal lParam As IntPtr, ByRef handled As Boolean) As IntPtr
End Function
In C#
private IntPtr WndProc(IntPtr hwnd, int msg, IntPtr wParam, IntPtr lParam, ref bool handled)
{
}
There is no Result here. Is there an other method to override WndProc in WPF?
http://huddledmasses.org/tag/wndproc/
No TweetBacks yet. (Be the first to Tweet this post)
July 1st, 2009 at 6:22 pm
The function returns an IntPtr
References :
July 1st, 2009 at 7:11 pm
http://huddledmasses.org/tag/wndproc/
References :