powerlist.h
资源名称:PPStream.zip [点击查看]
上传用户:hju612
上传日期:2022-08-09
资源大小:31k
文件大小:3k
源码类别:
P2P编程
开发平台:
Visual C++
- #if !defined(AFX_POWERLIST_H__5340BD92_D5ED_47E3_9B4A_46FCBD35166F__INCLUDED_)
- #define AFX_POWERLIST_H__5340BD92_D5ED_47E3_9B4A_46FCBD35166F__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.
- /////////////////////////////////////////////////////////////////////////////
- // CPowerList wrapper class
- class CPowerList : public CWnd
- {
- protected:
- DECLARE_DYNCREATE(CPowerList)
- public:
- CLSID const& GetClsid()
- {
- static CLSID const clsid
- = { 0x20c2c286, 0xbde8, 0x441b, { 0xb7, 0x3d, 0xaf, 0xa2, 0x2d, 0x91, 0x4d, 0xa5 } };
- 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:
- CString GetBackImage();
- void SetBackImage(LPCTSTR);
- CString GetBkColor();
- void SetBkColor(LPCTSTR);
- CString GetBoderColor();
- void SetBoderColor(LPCTSTR);
- CString GetHeaderBkColor();
- void SetHeaderBkColor(LPCTSTR);
- CString GetHeaderColor();
- void SetHeaderColor(LPCTSTR);
- CString GetHotItemColor();
- void SetHotItemColor(LPCTSTR);
- CString GetItemColor();
- void SetItemColor(LPCTSTR);
- CString GetSelectItemColor();
- void SetSelectItemColor(LPCTSTR);
- CString GetTooltipBkColor();
- void SetTooltipBkColor(LPCTSTR);
- CString GetTooltipColor();
- void SetTooltipColor(LPCTSTR);
- // Operations
- public:
- void SetPlayer(long hWnd);
- void SetBkImage(LPCTSTR lpszURL);
- void SetListSelectItemColor(long clr);
- void SetListItemColor(long clr);
- void SetListHotItemColor(long clr);
- void SetListBkColor(long clr);
- void SetListHeaderBkColor(long clr);
- void SetListBorderColor(long clr);
- void SetListHeaderColor(long clr);
- void SetTooltipBkColor(long clr);
- void SetTooltipColor(long clr);
- void AboutBox();
- };
- //{{AFX_INSERT_LOCATION}}
- // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
- #endif // !defined(AFX_POWERLIST_H__5340BD92_D5ED_47E3_9B4A_46FCBD35166F__INCLUDED_)