about using the WM messages in C#

  • Thread starter Thread starter Tony Johansson
  • Start date Start date
T

Tony Johansson

Hello!

Does it exist situations when there is a good solution to read WM messages
by using the WndProc methods in C# ?

//Tony
 
Does it exist situations when there is a good solution to read WM messages
by using the WndProc methods in C# ?

Absolutely. Just as the .NET Framework does not provide 100% coverage (i.e.,
wrappering) of the underlying Windows API, neither do the WinForms controls
provide complete coverage of all the WM_* messages, so just like there are
times you need to P/Invoke to unmanaged code, there are times you need to
intercept messages. Sorry, but I don't have an example off the top of my
head.
 
Back
Top