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

DESKBANDINFO (Structures)
 
.
Summary
Contains and receives information for a band object.

C# Definition:

[StructLayout (LayoutKind.Sequential, CharSet=CharSet.Unicode)]
struct DESKBANDINFO {
    /// <summary>
    /// Set of flags that determine which members of this structure are being requested.
    /// </summary>
    /// <remarks>
    /// This will be a combination of the following values:
    ///     DBIM_MINSIZE    ptMinSize is being requested.
    ///     DBIM_MAXSIZE    ptMaxSize is being requested.
    ///     DBIM_INTEGRAL   ptIntegral is being requested.
    ///     DBIM_ACTUAL     ptActual is being requested.
    ///     DBIM_TITLE      wszTitle is being requested.
    ///     DBIM_MODEFLAGS  dwModeFlags is being requested.
    ///     DBIM_BKCOLOR    crBkgnd is being requested.
    /// </remarks>
    public DBIM dwMask;
    /// <summary>
    /// Point structure that receives the minimum size of the band object.
    /// The minimum width is placed in the x member and the minimum height
    /// is placed in the y member.
    /// </summary>
    public Point ptMinSize;
    /// <summary>
    /// Point structure that receives the maximum size of the band object.
    /// The maximum height is placed in the y member and the x member is ignored.
    /// If there is no limit for the maximum height, (LONG)-1 should be used.
    /// </summary>
    public Point ptMaxSize;
    /// <summary>
    /// Point structure that receives the sizing step value of the band object.
    /// The vertical step value is placed in the y member, and the x member is ignored.
    /// The step value determines in what increments the band will be resized.
    /// </summary>
    /// <remarks>
    /// This member is ignored if dwModeFlags does not contain DBIMF_VARIABLEHEIGHT.
    /// </remarks>
    public Point ptIntegral;
    /// <summary>
    /// Point structure that receives the ideal size of the band object.
    /// The ideal width is placed in the x member and the ideal height is placed in the y member.
    /// The band container will attempt to use these values, but the band is not guaranteed to be this size.
    /// </summary>
    public Point ptActual;
    /// <summary>
    /// The title of the band.
    /// </summary>
    [MarshalAs(UnmanagedType.ByValTStr, SizeConst = 255)]
    public String wszTitle;
    /// <summary>
    /// A value that receives a set of flags that define the mode of operation for the band object.
    /// </summary>
    /// <remarks>
    /// This must be one or a combination of the following values.
    ///     DBIMF_NORMAL
    ///     The band is normal in all respects. The other mode flags modify this flag.
    ///     DBIMF_VARIABLEHEIGHT
    ///     The height of the band object can be changed. The ptIntegral member defines the
    ///     step value by which the band object can be resized.
    ///     DBIMF_DEBOSSED
    ///     The band object is displayed with a sunken appearance.
    ///     DBIMF_BKCOLOR
    ///     The band will be displayed with the background color specified in crBkgnd.
    /// </remarks>
    public DBIMF dwModeFlags;
    /// <summary>
    /// The background color of the band.
    /// </summary>
    /// <remarks>
    /// This member is ignored if dwModeFlags does not contain the DBIMF_BKCOLOR flag.
    /// </remarks>
    public Int32 crBkgnd;
     public Int32  dwMask;
     public POINT  ptMinSize;
     public POINT  ptMaxSize;
     public POINT  ptIntegral;
     public POINT  ptActual;
     [MarshalAs(UnmanagedType.ByValTStr, SizeConst=256)] public string wszTitle;
     public Int32  dwModeFlags;
     public Int32  crBkgnd;
}

VB Definition:

Structure DESKBANDINFO
   Public TODO
End Structure

User-Defined Field Types:

Structures:

POINT

Notes:

None.

Enumerations:

DeskBandInfoMasks

DeskBandInfoModes

DeskBandInfoViewMode

DeskBandCommands

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