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

Search Results for "LoadIcon" in [All]

coredll

.

static extern IntPtr LoadIcon(IntPtr hInst, string iconName);

.
Documentation
[LoadIcon] on MSDN
.

LoadIcon

.

            IntPtr hIcon = LoadIcon(GetModuleHandle(null), "#32512");

user32

.

            wndclass.hIcon = Win32.LoadIcon(IntPtr.Zero, new IntPtr((int)SystemIcons.IDI_APPLICATION));

.
Summary
.

static extern IntPtr LoadIcon(IntPtr hInstance, string lpIconName);

.

static extern IntPtr LoadIcon(IntPtr hInstance, IntPtr lpIconName);

.

Private Shared Function LoadIcon(ByVal hInstance As IntPtr, ByVal lpIconName As String) As IntPtr

.

Private Shared Function LoadIcon(ByVal hInstance As IntPtr, ByVal lpIconName As IntPtr) As IntPtr

.
Documentation
[LoadIcon] on MSDN
.

Use with LoadIcon

Constants

6: LR_
.

    /// in the resource file closest to the desired size. This will succeed only if hImage was loaded by LoadIcon or LoadCursor,

.

    ''' in the resource file closest to the desired size. This will succeed only if hImage was loaded by LoadIcon or LoadCursor,

Enums

.

        /// The default width of an icon, in pixels. The LoadIcon function can load only icons with the dimensions

.

        /// The default height of an icon, in pixels. The LoadIcon function can load only icons with the dimensions SM_CXICON and SM_CYICON.

.

    ''' Default width of an icon in pixels. The LoadIcon function can load only icons with the dimensions specified by SM_CXICON and SM_CYICON

.

    ''' Default height of an icon in pixels. The LoadIcon function can load only icons with the dimensions SM_CXICON and SM_CYICON.


 
Access PInvoke.net directly from VS: