CreateIconFromResourceFlags Enumeration
Namespace: DevCase.Win32.EnumsAssembly: DevCase.net48 (in DevCase.net48.dll) Version: 6.0.0.0 (6.0)
XMLNS for XAML: Not mapped to an xmlns.
[FlagsAttribute]
public enum CreateIconFromResourceFlags
<FlagsAttribute>
Public Enumeration CreateIconFromResourceFlags
Dim instance As CreateIconFromResourceFlags
[FlagsAttribute]
public enum class CreateIconFromResourceFlags
[<FlagsAttribute>]
type CreateIconFromResourceFlags
No code example is currently available or this language may not be supported.
DefaultColor |
0 |
The default flag; it does nothing.
All it means is "not Monochrome".
|
Monochrome |
1 |
Creates a monochrome icon or cursor.
|
DefaultSize |
64 |
Uses the width or height specified by the system metric values for cursors or icons,
if the width or height parameters are set to zero.
If this flag is not specified and width or height parameters are set to zero,
the function uses the actual resource size.
If the resource contains multiple images, the function uses the size of the first image.
|
Shared |
32,768 |
Shares the icon or cursor handle if the icon or cursor is created multiple times.
If Shared is not set,
a second call to CreateIconFromResourceEx(Byte, UInt32, Boolean, UInt32, Int32, Int32, CreateIconFromResourceFlags) for the same resource will
create the icon or cursor again and return a different handle.
When you use this flag, the system will destroy the resource when it is no longer needed.
|