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

ICONINFO (Structures)
 
.
Summary
Contains information about an icon or a cursor.

C# Definition:

struct ICONINFO
{
    /// <summary>
    /// Specifies whether this structure defines an icon or a cursor.
    /// A value of TRUE specifies an icon; FALSE specifies a cursor
    /// </summary>
    bool fIcon;
    /// <summary>
    /// The x-coordinate of a cursor's hot spot
    /// </summary>
    Int32 xHotspot;
    /// <summary>
    /// The y-coordinate of a cursor's hot spot
    /// </summary>
    Int32 yHotspot;
    /// <summary>
    /// The icon bitmask bitmap
    /// </summary>
    IntPtr hbmMask;
    /// <summary>
    /// A handle to the icon color bitmap.
    /// </summary>
    IntPtr hbmColor;
}

VB Definition:

Structure ICONINFO
   ''' <summary>
   ''' Specifies whether this structure defines an icon or a cursor.
   ''' A value of TRUE specifies an icon; FALSE specifies a cursor.
   ''' </summary>
   Public fIcon As Boolean

   ''' <summary>
   ''' The x-coordinate of a cursor's hot spot.
   ''' </summary>
   Public xHotspot As Integer

   ''' <summary>
   ''' The y-coordinate of the cursor's hot spot.
   ''' </summary>
   Public yHotspot As Integer

   ''' <summary>
   ''' The icon bitmask bitmap.
   ''' </summary>
   Public hbmMask As IntPtr

   ''' <summary>
   ''' A handle to the icon color bitmap.
   ''' </summary>
   Public hbmColor As IntPtr
End Structure

User-Defined Field Types:

None.

Notes:

None.

Documentation
ICONINFO on MSDN

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