ClientLic_2017/DialogError.cpp

47 lines
832 B
C++

// DialogError.cpp : implementation file
//
#include "stdafx.h"
#include "ClientLic.h"
#include "DialogError.h"
// DialogError dialog
IMPLEMENT_DYNAMIC(DialogError, CDialog)
DialogError::DialogError(CWnd* pParent /*=NULL*/)
: CDialog(DialogError::IDD, pParent)
{
errorSt =produc=0;
}
DialogError::~DialogError()
{
}
void DialogError::DoDataExchange(CDataExchange* pDX)
{
CDialog::DoDataExchange(pDX);
DDX_Control(pDX, IDC_STATIC_MSG_ERROR, msg_error);
}
BEGIN_MESSAGE_MAP(DialogError, CDialog)
END_MESSAGE_MAP()
// DialogError message handlers
BOOL DialogError::OnInitDialog()
{
CDialog::OnInitDialog();
if(errorSt)
msg_error.SetWindowText(errorSt);
if(produc)
SetWindowText(produc);
return TRUE; // return TRUE unless you set the focus to a control
// EXCEPTION: OCX Property Pages should return FALSE
}