クリック イベントを作成した IDC_STATIC という名前の静的テキストがありますが、クリックしても呼び出されません。
ON_BN_CLICKED(IDC_STATIC, ontest) //(begin message map)
void test::ontest(my method)
{
MessageBox("success");
}
afx_msg void test(); //(header file)
コードの何が問題になっていますか?
クリック イベントを作成した IDC_STATIC という名前の静的テキストがありますが、クリックしても呼び出されません。
ON_BN_CLICKED(IDC_STATIC, ontest) //(begin message map)
void test::ontest(my method)
{
MessageBox("success");
}
afx_msg void test(); //(header file)
コードの何が問題になっていますか?