Search
Module:
Directory

   Desktop Functions:

   Smart Device Functions:


Show Recent Changes
Subscribe (RSS)
Misc. Pages
Comments
FAQ
Helpful Tools
Playground
Suggested Reading
Website TODO List
Download Visual Studio Add-In

NMHDR (Structures)
 
.
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

Please edit this page!

Do you have...

  • helpful tips?
  • corrections to the existing content?
  • alternate definitions?
  • additional languages you want to include?

Select "Edit This Page" on the right hand toolbar and edit it! Or add new pages containing any supporting types needed.

 
Access PInvoke.net directly from VS:
Terms of Use
Find References
Show Printable Version
Revisions