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

LPNMTBCUSTOMDRAW (Structures)
 
.
Summary
Contains information specific to an NM_CUSTOMDRAW notification message sent by a toolbar control.

C# Definition:

    [StructLayout(LayoutKind.Sequential)]
    struct LPNMTBCUSTOMDRAW
    {
        public NMCUSTOMDRAW nmcd;
        public IntPtr hbrMonoDither;
        public IntPtr hbrLines;
        public IntPtr hpenLines;
        public int clrText;
        public int clrMark;
        public int clrTextHighlight;
        public int clrBtnFace;
        public int clrBtnHighlight;
        public int clrHighlightHotTrack;
        public RECT rcText;
        public int nStringBkMode;
        public int nHLStringBkMode;
    }

        public LPNMTBCUSTOMDRAW Empty
        {
            get
            {
                LPNMTBCUSTOMDRAW customdrawinfo = new LPNMTBCUSTOMDRAW();

VB Definition:

    <StructLayout(LayoutKind.Sequential)> _
    Structure LPNMTBCUSTOMDRAW
        Public nmcd As NMCUSTOMDRAW
        Public hbrMonoDither As IntPtr
        Public hbrLines As IntPtr
        Public hpenLines As IntPtr
        Public clrText As Integer
        Public clrMark As Integer
        Public clrTextHighlight As Integer
        Public clrBtnFace As Integer
        Public clrBtnHighlight As Integer
        Public clrHighlightHotTrack As Integer
        Public rcText As RECT
        Public nStringBkMode As Integer
        Public nHLStringBkMode As Integer
    End Structure
                customdrawinfo.nmcd = NMCUSTOMDRAW.Empty;
                customdrawinfo.hbrMonoDither = IntPtr.Zero;
                customdrawinfo.hbrLines = IntPtr.Zero;
                customdrawinfo.hpenLines = IntPtr.Zero;
                customdrawinfo.clrText = 0;
                customdrawinfo.clrMark = 0;
                customdrawinfo.clrTextHighlight = 0;
                customdrawinfo.clrBtnFace = 0;
                customdrawinfo.clrBtnHighlight = 0;
                customdrawinfo.clrHighlightHotTrack = 0;
                customdrawinfo.rcText = RECT.Empty;
                customdrawinfo.nStringBkMode = 0;
                customdrawinfo.nHLStringBkMode = 0;

                return customdrawinfo;
            }
        }
    }

VB Definition:

Structure LPNMTBCUSTOMDRAW
   Public TODO
End Structure

User-Defined Field Types:

None.

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