Desktop Functions:

   Smart Device Functions:

Show Recent Changes
Subscribe (RSS)
Misc. Pages
Helpful Tools
Suggested Reading
Website TODO List
Download Visual Studio Add-In

DI_ (Constants)

C# Constants:

    /// <summary>
    /// Draws the icon or cursor using the mask.
    /// </summary>
    private const int DI_MASK = 0x0001;

    /// <summary>
    /// Draws the icon or cursor using the image.
    /// </summary>
    private const int DI_IMAGE = 0x0002;

    /// <summary>
    /// Combination of DI_IMAGE and DI_MASK.
    /// </summary>
    private const int DI_NORMAL = 0x0003;

    /// <summary>
    /// Draws the icon or cursor using the system default image rather than the user-specified image.
    /// For more information, see About Cursors. Windows NT4.0 and later: This flag is ignored.
    /// </summary>
    private const int DI_COMPAT = 0x0004;

    /// <summary>
    /// Draws the icon or cursor using the width and height specified by the system metric values for cursors or icons,
    /// if the cxWidth and cyWidth parameters are set to zero. If this flag is not specified and cxWidth and cyWidth are set to zero,
    /// the function uses the actual resource size.
    /// </summary>
    private const int DI_DEFAULTSIZE = 0x0008;

    /// <summary>
    /// Windows XP: Draws the icon as an unmirrored icon. By default, the icon is drawn as a mirrored icon if hdc is mirrored.
    /// </summary>
    private const int DI_NOMIRROR = 0x0010;

VB Constants:





Please edit this page!

Do you have...

  • helpful tips?
  • corrections to the existing content?
  • additional languages you want to include?

Select "Edit This Page" on the right hand toolbar and edit it!

Access directly from VS:
Terms of Use
Find References
Show Printable Version