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

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