关于"DestroyWindow":成员函数未在"CGetArmDlg"中声明? [英] About 'DestroyWindow' : member function not declared in 'CGetArmDlg'?

查看:153
本文介绍了关于"DestroyWindow":成员函数未在"CGetArmDlg"中声明?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好.我在MFC中编写了一个应用程序.但是有一个问题.VC++ 6.0编译器指示:

Hello everyone.I wrote an application in MFC.But there is a problem.The VC++6.0 compiler instructed:

error C2509: 'DestroyWindow' : member function not declared in 'CShentouDlg'



代码段:



The segment of code:

BOOL CShentouDlg::DestroyWindow()
{
    // TODO: Add your specialized code here and/or call the base class
    ::UnregisterHotKey(m_hWnd,199);

    return CDialog::DestroyWindow();
}



我该如何纠正?

在此先谢谢您.



How can I correct it?

Thanks in advance.

推荐答案

好像您没有在类中声明函数.如果尚未添加,请尝试重新编译代码.

干杯,

Looks like you haven''t declared the function in your class. If you haven''t then add it in and try recompiling your code.

Cheers,

Ash


这篇关于关于"DestroyWindow":成员函数未在"CGetArmDlg"中声明?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆