TBBUTTON (Structures)
Last changed: -69.141.62.64

.
Summary
Contains or receives information for a specific button in a toolbar.

C# Definition:

    [StructLayout(LayoutKind.Sequential, CharSet=CharSet.Auto)]
    public struct TBBUTTONINFO
    {
        public int cbSize;
        public int dwMask;
        public int idCommand;
        public int iImage;
        public byte fsState;
        public byte fsStyle;
        public short cx;
        public IntPtr lParam;
        public IntPtr pszText;
        public int cchText;
    }

VB Definition:

    <StructLayout(LayoutKind.Sequential)> _
    Public Structure TBBUTTONINFO
        Public cbSize As Int32
        Public dwMask As Int32
        Public idCommand As Int32
        Public iImage As Int32
        Public fsState As Byte
        Public fsStyle As Byte
        Public cx As Short
        Public lParam As IntPtr
        Public pszText As IntPtr
        Public cchText As Int32
    End Structure

User-Defined Field Types:

None.

Notes:

None.

Documentation