NMHDR (Structures)
Last changed: 24.119.235.136

.
Summary
Contains additional information about a notification message

C# Definition:

[StructLayout(LayoutKind.Sequential)]
struct NMHDR
{
   public IntPtr hwndFrom;
   public int idFrom;
   public int code;
}

VB Definition:

<StructLayout(LayoutKind.Sequential)> _  
Structure NMHDR
   Public hwndFrom As IntPtr
   Public idFrom As Integer
   Public code As Integer

   Public Shared Function GetNotificationHeader(ByVal m As Message) As NMHDR
     If m.Msg = WM.NOTIFY OrElse m.Msg = OCM.NOTIFY Then
     Return DirectCast(m.GetLParam(GetType(NMHDR)), NMHDR)
     Else
     Return New NMHDR
     End If
   End Function
End Structure

User-Defined Field Types:

None.

Notes:

None.

Documentation
NMHDR on MSDN