我在控件中增加一Event [id(1)] void setcolor(long x, long y, OLE_COLOR color);在测试程序中相应该事件,自动生成的代码如下:
void CTtDlg::OnsetcolorTestcoloreventctrl1(long x, long y, color)
{
// TODO: Add your control notification handler code here
}他不认识color是什么类型的。(x和y它都知道是long型的)
void CTtDlg::OnsetcolorTestcoloreventctrl1(long x, long y, color)
{
// TODO: Add your control notification handler code here
}他不认识color是什么类型的。(x和y它都知道是long型的)
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货