我正在使用Visual C++ 2005中的MFC对话框应用程序.我的单选按钮是m_Small,m_Medium和m_Large.它们都没有在我的m_Summary编辑框中显示它们应该显示的内容.可能有什么不对?
这是我的代码.
// Pizza_ProgramDlg.cpp : implementation file
//
#include "stdafx.h"
#include "Pizza_Program.h"
#include "Pizza_ProgramDlg.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#endif
// CAboutDlg dialog used for App About
class CAboutDlg : public CDialog
{
public:
CAboutDlg();
// Dialog Data
enum { IDD = IDD_ABOUTBOX };
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
// Implementation
protected:
DECLARE_MESSAGE_MAP()
};
CAboutDlg::CAboutDlg() : CDialog(CAboutDlg::IDD)
{
}
void CAboutDlg::DoDataExchange(CDataExchange* pDX)
{
CDialog::DoDataExchange(pDX);
}
BEGIN_MESSAGE_MAP(CAboutDlg, CDialog)
END_MESSAGE_MAP()
// CPizza_ProgramDlg dialog
CPizza_ProgramDlg::CPizza_ProgramDlg(CWnd* pParent /*=NULL*/)
: …Run Code Online (Sandbox Code Playgroud)