windows-nt/Source/XPSP1/NT/enduser/speech/sapi/cpl/progressbar.h
2020-09-26 16:20:57 +08:00

81 lines
2.4 KiB
C++

#if !defined(AFX_PROGRESSBAR_H__78F8DA9B_4EF4_4500_97B6_647141CA2280__INCLUDED_)
#define AFX_PROGRESSBAR_H__78F8DA9B_4EF4_4500_97B6_647141CA2280__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// Machine generated IDispatch wrapper class(es) created by Microsoft Visual C++
// NOTE: Do not modify the contents of this file. If this class is regenerated by
// Microsoft Visual C++, your modifications will be overwritten.
// Dispatch interfaces referenced by this interface
class CPicture;
/////////////////////////////////////////////////////////////////////////////
// CProgressBar wrapper class
class CProgressBar : public CWnd
{
protected:
DECLARE_DYNCREATE(CProgressBar)
public:
CLSID const& GetClsid()
{
static CLSID const clsid
= { 0x35053a22, 0x8589, 0x11d1, { 0xb1, 0x6a, 0x0, 0xc0, 0xf0, 0x28, 0x36, 0x28 } };
return clsid;
}
virtual BOOL Create(LPCTSTR lpszClassName,
LPCTSTR lpszWindowName, DWORD dwStyle,
const RECT& rect,
CWnd* pParentWnd, UINT nID,
CCreateContext* pContext = NULL)
{ return CreateControl(GetClsid(), lpszWindowName, dwStyle, rect, pParentWnd, nID); }
BOOL Create(LPCTSTR lpszWindowName, DWORD dwStyle,
const RECT& rect, CWnd* pParentWnd, UINT nID,
CFile* pPersist = NULL, BOOL bStorage = FALSE,
BSTR bstrLicKey = NULL)
{ return CreateControl(GetClsid(), lpszWindowName, dwStyle, rect, pParentWnd, nID,
pPersist, bStorage, bstrLicKey); }
// Attributes
public:
// Operations
public:
float GetMax();
void SetMax(float newValue);
float GetMin();
void SetMin(float newValue);
long GetMousePointer();
void SetMousePointer(long nNewValue);
CPicture GetMouseIcon();
void SetRefMouseIcon(LPDISPATCH newValue);
void SetMouseIcon(LPDISPATCH newValue);
float GetValue();
void SetValue(float newValue);
long GetOLEDropMode();
void SetOLEDropMode(long nNewValue);
long GetAppearance();
void SetAppearance(long nNewValue);
long GetBorderStyle();
void SetBorderStyle(long nNewValue);
BOOL GetEnabled();
void SetEnabled(BOOL bNewValue);
long GetHWnd();
void OLEDrag();
long GetOrientation();
void SetOrientation(long nNewValue);
long GetScrolling();
void SetScrolling(long nNewValue);
void Refresh();
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_PROGRESSBAR_H__78F8DA9B_4EF4_4500_97B6_647141CA2280__INCLUDED_)