[DllImport("user32.dll")]
static extern IntPtr LoadIcon(IntPtr hInstance, string lpIconName);
For loading icon-resource identified as integer ID
[DllImport("user32.dll")]
static extern IntPtr LoadIcon(IntPtr hInstance, IntPtr lpIconName);
<DllImport("user32.dll")> _
Private Shared Function LoadIcon(ByVal hInstance As IntPtr, ByVal lpIconName As String) As IntPtr
End Function
' For loading icon-resource identified as integer ID
<DllImport("user32.dll")> _
Private Shared Function LoadIcon(ByVal hInstance As IntPtr, ByVal lpIconName As IntPtr) As IntPtr
End Function
None.
None.
To load system icons, provide IntPtr.Zero for hInstance, and use one of the values of SystemIcons for lpIconName
Please add some!
Do you know one? Please contribute it!