IPhotoProgressDialog::SetImage method (photoacquire.h)
Sets either the thumbnail image displayed in the progress dialog box, the icon in the title bar of the progress dialog box, or the icon in ALT+TAB key combination windows.
Syntax
HRESULT SetImage(
[in] PROGRESS_DIALOG_IMAGE_TYPE nImageType,
[in] HICON hIcon,
[in] HBITMAP hBitmap
);
Parameters
[in] nImageType
Integer value indicating the image type to set. Only one type of image type may be set at a time. The values passed to this parameter should not be considered a bit field and may not be combined with bitwise OR.
[in] hIcon
Handle to an icon object.
[in] hBitmap
Handle to a bitmap object representing the thumbnail image.
Return value
The method returns an HRESULT. Possible values include, but are not limited to, those in the following table.
Return code | Description |
---|---|
|
The method succeeded. |
Requirements
Requirement | Value |
---|---|
Target Platform | Windows |
Header | photoacquire.h |
Library | PhotoAcquireUID.lib |