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

TBBUTTON (Structures)
 
.
Summary
Contains or receives information for a specific button in a toolbar.
Summary
Contains information about a button in a toolbar.

C# Definition:

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

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 Structure TBBUTTON
        Public iBitmap As Integer
        Public idCommand As Integer
        Public fsState As Byte
        Public fsStyle As Byte
        Public cx As Short
        Public lParam As IntPtr
        Public pszText As IntPtr
        Public cchText As Int32
        Public bReserved0 As Byte
        Public bReserved1 As Byte
        Public dwData As Integer
        Public iString As Integer
    End Structure

User-Defined Field Types:

None.

Notes:

None.

Documentation
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