mirror of https://github.com/tongzx/nt5src
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
41 lines
922 B
41 lines
922 B
//--------------------------------------------------------------------------
|
|
// Copyright (C) Microsoft Corporation, 1998 - 1999
|
|
//
|
|
// progress.h
|
|
//
|
|
// IR ProgressBar object. Use the shell progress indicator for progress
|
|
// during image transfer from the camera.
|
|
//
|
|
//--------------------------------------------------------------------------
|
|
|
|
|
|
#include "resource.h"
|
|
|
|
|
|
class CIrProgress
|
|
{
|
|
public:
|
|
CIrProgress(VOID);
|
|
~CIrProgress(VOID);
|
|
|
|
HRESULT Initialize( IN HINSTANCE hInstance,
|
|
IN DWORD dwIdrAnimationAvi );
|
|
|
|
HRESULT SetText( IN TCHAR *pText );
|
|
|
|
HRESULT StartProgressDialog(VOID);
|
|
|
|
HRESULT UpdateProgressDialog( IN DWORD dwCompleted,
|
|
IN DWORD dwTotal );
|
|
|
|
BOOL HasUserCancelled(VOID);
|
|
|
|
HRESULT EndProgressDialog(VOID);
|
|
|
|
|
|
private:
|
|
|
|
HINSTANCE m_hInstance;
|
|
IProgressDialog *m_pPD;
|
|
};
|
|
|