TSP Solver and Generator
|
Exposes methods that control the taskbar. More...
#include <shobjidl.h>
Public Member Functions | |
HRESULT | SetProgressState (HWND hwnd, TBPFLAG tbpFlags) |
Sets the type and state of the progress indicator displayed on a taskbar button. | |
HRESULT | SetProgressValue (HWND hwnd, ULONGLONG ullCompleted, ULONGLONG ullTotal) |
Displays or updates a progress bar hosted in a taskbar button to show the specific percentage completed of the full operation. |
Exposes methods that control the taskbar.
Extends ITaskbarList2 by exposing methods that support the unified launching and switching taskbar button functionality added in Windows 7. This functionality includes thumbnail representations and switch targets based on individual tabs in a tabbed application, thumbnail toolbars, notification and status overlays, and progress indicators. This interface also provides the methods of the ITaskbarList and ITaskbarList2 interfaces, from which it inherits.
HRESULT ITaskbarList3::SetProgressState | ( | HWND | hwnd, |
TBPFLAG | tbpFlags | ||
) |
Sets the type and state of the progress indicator displayed on a taskbar button.
hwnd | The handle of the window in which the progress of an operation is being shown. This window's associated taskbar button will display the progress bar. |
tbpFlags | Flags that control the current state of the progress button. |
HRESULT ITaskbarList3::SetProgressValue | ( | HWND | hwnd, |
ULONGLONG | ullCompleted, | ||
ULONGLONG | ullTotal | ||
) |
Displays or updates a progress bar hosted in a taskbar button to show the specific percentage completed of the full operation.
hwnd | The handle of the window whose associated taskbar button is being used as a progress indicator. |
ullCompleted | An application-defined value that indicates the proportion of the operation that has been completed at the time the method is called. |
ullTotal | An application-defined value that specifies the value ullCompleted will have when the operation is complete. |