Click here to Skip to main content
15,896,111 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Strange Issue Pin
Code-o-mat1-Mar-10 2:51
Code-o-mat1-Mar-10 2:51 
QuestionAES 128bit encryption using CryptoAPI Pin
Varghese Paul M28-Feb-10 22:13
Varghese Paul M28-Feb-10 22:13 
AnswerRe: AES 128bit encryption using CryptoAPI Pin
Richard MacCutchan28-Feb-10 23:52
mveRichard MacCutchan28-Feb-10 23:52 
GeneralRe: AES 128bit encryption using CryptoAPI Pin
Rajesh R Subramanian1-Mar-10 6:25
professionalRajesh R Subramanian1-Mar-10 6:25 
GeneralRe: AES 128bit encryption using CryptoAPI Pin
Richard MacCutchan1-Mar-10 6:33
mveRichard MacCutchan1-Mar-10 6:33 
QuestionHow to create a form or dailog in MFC-MDI ? Pin
Patrick Tang28-Feb-10 21:31
Patrick Tang28-Feb-10 21:31 
AnswerRe: How to create a form or dailog in MFC-MDI ? Pin
CPallini28-Feb-10 21:40
mveCPallini28-Feb-10 21:40 
AnswerRe: How to create a form or dailog in MFC-MDI ? Pin
Patrick Tang28-Feb-10 22:23
Patrick Tang28-Feb-10 22:23 
I find error because I Create AboutDailog and i show this dailog;

but AboutDailog code same of system create CAboutDlg :

----------AboutDailog.h---------------------
class AboutDailog : public CDialog
{
DECLARE_DYNAMIC(AboutDailog)

public:
AboutDailog();
virtual ~AboutDailog();

protected:
DECLARE_MESSAGE_MAP()
public:
afx_msg void OnFileAbout();
};
----------AboutDailog.cpp---------------------

// AboutDailog.cpp : 实现文件
//

#include "stdafx.h"
#include "MyControlTest.h"
#include "AboutDailog.h"


// AboutDailog

IMPLEMENT_DYNAMIC(AboutDailog, CWnd)

AboutDailog::AboutDailog()
{

}

AboutDailog::~AboutDailog()
{
}


BEGIN_MESSAGE_MAP(AboutDailog, CWnd)
ON_COMMAND(ID_FILE_ABOUT, &AboutDailog::OnFileAbout)
END_MESSAGE_MAP()



// AboutDailog 消息处理程序



void AboutDailog::OnFileAbout()
{
// TODO: 在此添加命令处理程序代码
AboutDailog aboutDlg;
aboutDlg.DoModal();
}

----------CAboutDlg.h---------------------
class CAboutDlg : public CDialog
{
public:
CAboutDlg();

// 对话框数据
enum { IDD = IDD_ABOUTBOX };

protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV 支持

// 实现
protected:
DECLARE_MESSAGE_MAP()
};
----------CAboutDlg.cpp---------------------

CAboutDlg::CAboutDlg() : CDialog(CAboutDlg::IDD)
{
}

void CAboutDlg::DoDataExchange(CDataExchange* pDX)
{
CDialog::DoDataExchange(pDX);
}

BEGIN_MESSAGE_MAP(CAboutDlg, CDialog)
END_MESSAGE_MAP()

// 用于运行对话框的应用程序命令
void CMyControlTestApp::OnAppAbout()
{
CAboutDlg aboutDlg;
aboutDlg.DoModal();

/*AboutDailog aboutDlg;
aboutDlg.DoModal();*/
}
GeneralRe: How to create a form or dailog in MFC-MDI ? Pin
Eugen Podsypalnikov28-Feb-10 22:43
Eugen Podsypalnikov28-Feb-10 22:43 
QuestionRe: How to create a form or dailog in MFC-MDI ? Pin
David Crow1-Mar-10 3:14
David Crow1-Mar-10 3:14 
Questionsigned char[] to CString Pin
PaulowniaK28-Feb-10 19:51
PaulowniaK28-Feb-10 19:51 
AnswerRe: signed char[] to CString Pin
Eugen Podsypalnikov28-Feb-10 20:06
Eugen Podsypalnikov28-Feb-10 20:06 
GeneralRe: signed char[] to CString Pin
PaulowniaK28-Feb-10 20:13
PaulowniaK28-Feb-10 20:13 
GeneralRe: signed char[] to CString Pin
Eugen Podsypalnikov28-Feb-10 20:18
Eugen Podsypalnikov28-Feb-10 20:18 
GeneralRe: signed char[] to CString Pin
PaulowniaK28-Feb-10 20:33
PaulowniaK28-Feb-10 20:33 
GeneralRe: signed char[] to CString Pin
Eugen Podsypalnikov28-Feb-10 20:35
Eugen Podsypalnikov28-Feb-10 20:35 
GeneralRe: signed char[] to CString Pin
PaulowniaK28-Feb-10 20:45
PaulowniaK28-Feb-10 20:45 
GeneralRe: signed char[] to CString Pin
Eugen Podsypalnikov28-Feb-10 20:48
Eugen Podsypalnikov28-Feb-10 20:48 
GeneralRe: signed char[] to CString Pin
PaulowniaK28-Feb-10 20:52
PaulowniaK28-Feb-10 20:52 
GeneralRe: signed char[] to CString Pin
Eugen Podsypalnikov28-Feb-10 21:00
Eugen Podsypalnikov28-Feb-10 21:00 
GeneralRe: signed char[] to CString Pin
PaulowniaK28-Feb-10 21:07
PaulowniaK28-Feb-10 21:07 
GeneralRe: signed char[] to CString Pin
KarstenK28-Feb-10 21:27
mveKarstenK28-Feb-10 21:27 
AnswerRe: signed char[] to CString Pin
«_Superman_»28-Feb-10 20:09
professional«_Superman_»28-Feb-10 20:09 
GeneralRe: signed char[] to CString Pin
Eugen Podsypalnikov28-Feb-10 20:14
Eugen Podsypalnikov28-Feb-10 20:14 
GeneralRe: signed char[] to CString Pin
PaulowniaK28-Feb-10 20:22
PaulowniaK28-Feb-10 20:22 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.