LPNMTBCUSTOMDRAW (Structures)
Last changed: gwapo@models.com-202.175.250.114

.
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();

                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