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

NMCUSTOMDRAW (Structures)
 
.
Summary
Contains information specific to an NM_CUSTOMDRAW notification message.

C# Definition:

    [StructLayout(LayoutKind.Sequential)]
    struct NMCUSTOMDRAW
    {
        public NMHDR hdr;
        public int dwDrawStage;
        public IntPtr hdc;
        public RECT rc;
        public IntPtr dwItemSpec;
        public int dwItemSpec;
        public int uItemState;
        public IntPtr lItemlParam;
        public int lItemlParam;
    }

VB Definition:

    <StructLayout(LayoutKind.Sequential)> _
    Structure NMCUSTOMDRAW
        Public hdr As NMHDR
        Public dwDrawStage As Integer
        Public hdc As IntPtr
        Public rc As RECT
        Public dwItemSpec As IntPtr
        Public dwItemSpec As Integer
        Public uItemState As Integer
        Public lItemlParam As Integer

        Public Shared Function FromMessage(ByVal msg As Message) As NMCUSTOMDRAW
            Return DirectCast(msg.GetLParam(GetType(NMCUSTOMDRAW)), NMCUSTOMDRAW)
        End Function
    End Structure

User-Defined Field Types:

RECT, NMHDR

Notes:

None.

Documentation

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
Edit This Page
Find References
Show Printable Version
Revisions