powerlist.cpp
资源名称:PPStream.zip [点击查看]
上传用户:hju612
上传日期:2022-08-09
资源大小:31k
文件大小:5k
源码类别:
P2P编程
开发平台:
Visual C++
- // 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.
- #include "stdafx.h"
- #include "powerlist.h"
- /////////////////////////////////////////////////////////////////////////////
- // CPowerList
- IMPLEMENT_DYNCREATE(CPowerList, CWnd)
- /////////////////////////////////////////////////////////////////////////////
- // CPowerList properties
- CString CPowerList::GetBackImage()
- {
- CString result;
- GetProperty(0x1, VT_BSTR, (void*)&result);
- return result;
- }
- void CPowerList::SetBackImage(LPCTSTR propVal)
- {
- SetProperty(0x1, VT_BSTR, propVal);
- }
- CString CPowerList::GetBkColor()
- {
- CString result;
- GetProperty(0xd, VT_BSTR, (void*)&result);
- return result;
- }
- void CPowerList::SetBkColor(LPCTSTR propVal)
- {
- SetProperty(0xd, VT_BSTR, propVal);
- }
- CString CPowerList::GetBoderColor()
- {
- CString result;
- GetProperty(0xe, VT_BSTR, (void*)&result);
- return result;
- }
- void CPowerList::SetBoderColor(LPCTSTR propVal)
- {
- SetProperty(0xe, VT_BSTR, propVal);
- }
- CString CPowerList::GetHeaderBkColor()
- {
- CString result;
- GetProperty(0xf, VT_BSTR, (void*)&result);
- return result;
- }
- void CPowerList::SetHeaderBkColor(LPCTSTR propVal)
- {
- SetProperty(0xf, VT_BSTR, propVal);
- }
- CString CPowerList::GetHeaderColor()
- {
- CString result;
- GetProperty(0x10, VT_BSTR, (void*)&result);
- return result;
- }
- void CPowerList::SetHeaderColor(LPCTSTR propVal)
- {
- SetProperty(0x10, VT_BSTR, propVal);
- }
- CString CPowerList::GetHotItemColor()
- {
- CString result;
- GetProperty(0x11, VT_BSTR, (void*)&result);
- return result;
- }
- void CPowerList::SetHotItemColor(LPCTSTR propVal)
- {
- SetProperty(0x11, VT_BSTR, propVal);
- }
- CString CPowerList::GetItemColor()
- {
- CString result;
- GetProperty(0x12, VT_BSTR, (void*)&result);
- return result;
- }
- void CPowerList::SetItemColor(LPCTSTR propVal)
- {
- SetProperty(0x12, VT_BSTR, propVal);
- }
- CString CPowerList::GetSelectItemColor()
- {
- CString result;
- GetProperty(0x13, VT_BSTR, (void*)&result);
- return result;
- }
- void CPowerList::SetSelectItemColor(LPCTSTR propVal)
- {
- SetProperty(0x13, VT_BSTR, propVal);
- }
- CString CPowerList::GetTooltipBkColor()
- {
- CString result;
- GetProperty(0x14, VT_BSTR, (void*)&result);
- return result;
- }
- void CPowerList::SetTooltipBkColor(LPCTSTR propVal)
- {
- SetProperty(0x14, VT_BSTR, propVal);
- }
- CString CPowerList::GetTooltipColor()
- {
- CString result;
- GetProperty(0x15, VT_BSTR, (void*)&result);
- return result;
- }
- void CPowerList::SetTooltipColor(LPCTSTR propVal)
- {
- SetProperty(0x15, VT_BSTR, propVal);
- }
- /////////////////////////////////////////////////////////////////////////////
- // CPowerList operations
- void CPowerList::SetPlayer(long hWnd)
- {
- static BYTE parms[] =
- VTS_I4;
- InvokeHelper(0x2, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
- hWnd);
- }
- void CPowerList::SetBkImage(LPCTSTR lpszURL)
- {
- static BYTE parms[] =
- VTS_BSTR;
- InvokeHelper(0x3, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
- lpszURL);
- }
- void CPowerList::SetListSelectItemColor(long clr)
- {
- static BYTE parms[] =
- VTS_I4;
- InvokeHelper(0x4, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
- clr);
- }
- void CPowerList::SetListItemColor(long clr)
- {
- static BYTE parms[] =
- VTS_I4;
- InvokeHelper(0x5, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
- clr);
- }
- void CPowerList::SetListHotItemColor(long clr)
- {
- static BYTE parms[] =
- VTS_I4;
- InvokeHelper(0x6, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
- clr);
- }
- void CPowerList::SetListBkColor(long clr)
- {
- static BYTE parms[] =
- VTS_I4;
- InvokeHelper(0x7, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
- clr);
- }
- void CPowerList::SetListHeaderBkColor(long clr)
- {
- static BYTE parms[] =
- VTS_I4;
- InvokeHelper(0x8, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
- clr);
- }
- void CPowerList::SetListBorderColor(long clr)
- {
- static BYTE parms[] =
- VTS_I4;
- InvokeHelper(0x9, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
- clr);
- }
- void CPowerList::SetListHeaderColor(long clr)
- {
- static BYTE parms[] =
- VTS_I4;
- InvokeHelper(0xa, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
- clr);
- }
- void CPowerList::SetTooltipBkColor(long clr)
- {
- static BYTE parms[] =
- VTS_I4;
- InvokeHelper(0xb, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
- clr);
- }
- void CPowerList::SetTooltipColor(long clr)
- {
- static BYTE parms[] =
- VTS_I4;
- InvokeHelper(0xc, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
- clr);
- }
- void CPowerList::AboutBox()
- {
- InvokeHelper(0xfffffdd8, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
- }