how to create resources without VS C++ 2008 creating MFC files
- by numerical25
I am creating a WIN32 application and I want most of all my application events to be made through the message queue. But everytime I create a dialog box or any resource like that. The IDE auto generates code that I don't necessarily need. I believe it's MFC code not sure. here it is.
// dlgChangeDevice.cpp : implementation file
//
#include "stdafx.h"
#include "ZFXD3D.h"
#include "dlgChangeDevice.h"
// dlgChangeDevice dialog
IMPLEMENT_DYNAMIC(dlgChangeDevice, CDialog)
dlgChangeDevice::dlgChangeDevice(CWnd* pParent /*=NULL*/)
: CDialog(dlgChangeDevice::IDD, pParent)
{
}
dlgChangeDevice::~dlgChangeDevice()
{
}
void dlgChangeDevice::DoDataExchange(CDataExchange* pDX)
{
CDialog::DoDataExchange(pDX);
}
BEGIN_MESSAGE_MAP(dlgChangeDevice, CDialog)
ON_CBN_SELCHANGE(IDC_COMBO5, &dlgChangeDevice::OnCbnSelchangeCombo5)
END_MESSAGE_MAP()
// dlgChangeDevice message handlers
void dlgChangeDevice::OnCbnSelchangeCombo5()
{
// TODO: Add your control notification handler code here
}
Not sure what it is but I don't need it. I want to retrieve all my code through the dialog message queue. So what should I do ?? Just disregard it and delete it. Will a hurt anything by doing so ??