pj.cpp
来自「Visual.C++程序设计技巧与实例--配套光盘 第10章 ACITVEX 」· C++ 代码 · 共 61 行
CPP
61 行
// 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 "pj.h"
/////////////////////////////////////////////////////////////////////////////
// CPJ
IMPLEMENT_DYNCREATE(CPJ, CWnd)
/////////////////////////////////////////////////////////////////////////////
// CPJ properties
short CPJ::GetIndex()
{
short result;
GetProperty(0x1, VT_I2, (void*)&result);
return result;
}
void CPJ::SetIndex(short propVal)
{
SetProperty(0x1, VT_I2, propVal);
}
BOOL CPJ::GetIsBK()
{
BOOL result;
GetProperty(0x2, VT_BOOL, (void*)&result);
return result;
}
void CPJ::SetIsBK(BOOL propVal)
{
SetProperty(0x2, VT_BOOL, propVal);
}
BOOL CPJ::GetIsMove()
{
BOOL result;
GetProperty(0x3, VT_BOOL, (void*)&result);
return result;
}
void CPJ::SetIsMove(BOOL propVal)
{
SetProperty(0x3, VT_BOOL, propVal);
}
/////////////////////////////////////////////////////////////////////////////
// CPJ operations
void CPJ::AboutBox()
{
InvokeHelper(0xfffffdd8, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?