@msdn=http://search.microsoft.com/search/results.aspx?qu=$$$ @pinvoke=http://pinvoke.net/$$$.htm Summary: Structures used by ChangeWindowMessageFilterEx !!!!C# Definition: public enum MessageFilterInfo : uint { None=0, AlreadyAllowed=1, AlreadyDisAllowed=2, AllowedHigher=3 }; public enum ChangeWindowMessageFilterExAction : uint { Reset = 0, Allow = 1, DisAllow = 2 }; [StructLayout(LayoutKind.Sequential)] public struct CHANGEFILTERSTRUCT { public uint size; public MessageFilterInfo info; } !!!!VB Definition: !!!!User-Defined Field Types: !!!!Notes: Sample Code: CHANGEFILTERSTRUCT filterStatus = new CHANGEFILTERSTRUCT(); filterStatus.size= (uint) Marshal.SizeOf(filterStatus); filterStatus.info = 0; ChangeWindowMessageFilterEx(Handle,_message,ChangeWindowMessageFilterExAction.Allow, ref filterStatus); Note: If you do not care about the status, then for the last argument you can replace 'ref FilterStatus' with 'IntPtr.Zero' Documentation: ChangeWindowMessageFilterEx@msdn on MSDN
Edit Structures.Change...
You do not have permission to change this page. If you feel this is in error, please send feedback with the contact link on the main page.