-
Notifications
You must be signed in to change notification settings - Fork 0
ShowPickIconDialog function
Wraps: PickIconDlg
ShowPickIconDialog(nint hWnd, string defIconPath, int defIconIndex, out string iconPath, out int iconIndex)
Displays a modal dialog box that allows the user to choose an icon from the selection available embedded in a resource such as an executable or DLL file.
The handle of the parent window.
A string that contains the fully qualified path of the default resource that contains the icons. You should verify that the path is valid before using it.
An integer that specifies the index of the initial selection.
If the user chooses a different resource in the dialog, contains the path of that file when the function returns; otherwise, it contains the path stored in defIconPath.
When this function returns successfully, receives the index of the icon that was selected.
true if successful; otherwise, false.
Displays a modeless dialog box that allows the user to choose an icon from the selection available embedded in a resource such as an executable or DLL file.
A string that contains the fully qualified path of the default resource that contains the icons. You should verify that the path is valid before using it.
An integer that specifies the index of the initial selection.
If the user chooses a different resource in the dialog, contains the path of that file when the function returns; otherwise, it contains the path stored in defIconPath.
When this function returns successfully, receives the index of the icon that was selected.
true if successful; otherwise, false.
Displays a modal dialog box that allows the user to choose an icon from the selection available embedded in a resource such as an executable or DLL file.
The handle of the parent window.
A string that contains the fully qualified path of the default resource that contains the icons. You should verify that the path is valid before using it.
An integer that specifies the index of the initial selection.
When this function returns, contains the Icon that was selected. If loading the icon fails, contains SystemIcons.Error.
true if successful; otherwise, false.
Displays a modeless dialog box that allows the user to choose an icon from the selection available embedded in a resource such as an executable or DLL file.
A string that contains the fully qualified path of the default resource that contains the icons. You should verify that the path is valid before using it.
An integer that specifies the index of the initial selection.
When this function returns, contains the Icon that was selected. If loading the icon fails, contains SystemIcons.Error.
true if successful; otherwise, false.