Click here to Skip to main content
15,888,351 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: where to define "Enable3dControlsStatic();" Pin
David Crow22-Sep-05 6:59
David Crow22-Sep-05 6:59 
GeneralRe: where to define "Enable3dControlsStatic();" Pin
Michael Dunn22-Sep-05 7:10
sitebuilderMichael Dunn22-Sep-05 7:10 
NewsNetworking Pin
sebastianos19-Sep-05 4:51
sebastianos19-Sep-05 4:51 
Question[Message Deleted] Pin
valerie9919-Sep-05 4:45
valerie9919-Sep-05 4:45 
AnswerRe: The one and only object been double defined Pin
MailtoGops19-Sep-05 4:59
MailtoGops19-Sep-05 4:59 
Generalthanks, the Dlg is not getting value Pin
valerie9919-Sep-05 5:28
valerie9919-Sep-05 5:28 
GeneralRe: thanks, the Dlg is not getting value Pin
David Crow19-Sep-05 7:43
David Crow19-Sep-05 7:43 
Generalthe more of CSurchrgDlg Pin
valerie9919-Sep-05 10:36
valerie9919-Sep-05 10:36 
The dlg info should come from CSurchrgDlg, but when I set breakpoint over CSurchrgDlg, it never stop before it hits the CSurchrgDlg dlg;...so I couldn't figure out where exactly it is from

class CAboutDlg : public CDialog
{
public:
CAboutDlg();

enum { IDD = IDD_ABOUTBOX };
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL

// 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()

/////////////////////////////////////////////////////////////////////////////
// CSurchrgDlg dialog
CSurchrgDlg::CSurchrgDlg(CWnd* pParent /*=NULL*/)
: CDialog(CSurchrgDlg::IDD, pParent),
m_theApp (* static_cast<cwinapp*> (AfxGetApp()))
{
//{{AFX_DATA_INIT(CAddSurchrgDlg)
m_client_name = _T("");
m_reference = _T("");
m_status_message = _T("");
m_cycle = _T("");
m_percent_complete = _T("");
m_records_changed = _T("");
//}}AFX_DATA_INIT
// Note that LoadIcon does not require a subsequent DestroyIcon in Win32
m_hIcon = AfxGetApp()->LoadIcon(IDR_MAINFRAME);
m_vecBuffer.reserve (BUFFER_SIZE);
}

void CSurchrgDlg::DoDataExchange(CDataExchange* pDX)
{
CDialog::DoDataExchange(pDX);
//{{AFX_DATA_MAP(CAddSurchrgDlg)
DDX_Text(pDX, IDC_CLIENT, m_client_name);
DDX_Text(pDX, IDC_REFERENCE, m_reference);
DDX_Text(pDX, IDC_STATUSMESSAGE, m_status_message);
DDX_Text(pDX, IDC_CYCLE, m_cycle);
DDX_Text(pDX, IDC_PERCENT_COMPLETE, m_percent_complete);
DDX_Text(pDX, IDC_RECORDS_CHANGED, m_records_changed);
//}}AFX_DATA_MAP
}

BEGIN_MESSAGE_MAP(CSurchrgDlg, CDialog)
//{{AFX_MSG_MAP(CSurchrgDlg)
ON_WM_SYSCOMMAND()
ON_WM_PAINT()
ON_WM_QUERYDRAGICON()
ON_BN_CLICKED(IDC_OK, OnOk)
//}}AFX_MSG_MAP
END_MESSAGE_MAP()
GeneralRe: the more of CSurchrgDlg Pin
David Crow19-Sep-05 10:42
David Crow19-Sep-05 10:42 
GeneralOnInitDialog() Pin
valerie9920-Sep-05 3:53
valerie9920-Sep-05 3:53 
GeneralRe: OnInitDialog() Pin
David Crow20-Sep-05 4:16
David Crow20-Sep-05 4:16 
GeneralIt crash when it exits...:( Pin
valerie9920-Sep-05 6:30
valerie9920-Sep-05 6:30 
GeneralRe: It crash when it exits...:( Pin
David Crow20-Sep-05 6:57
David Crow20-Sep-05 6:57 
Generaleven if the breakpoint set on dlg.DoModal(); Pin
valerie9920-Sep-05 10:56
valerie9920-Sep-05 10:56 
GeneralRe: even if the breakpoint set on dlg.DoModal(); Pin
David Crow21-Sep-05 3:28
David Crow21-Sep-05 3:28 
Generalwish I could Pin
valerie9921-Sep-05 5:25
valerie9921-Sep-05 5:25 
QuestionNetwork program Pin
mikobi19-Sep-05 4:43
mikobi19-Sep-05 4:43 
AnswerRe: Network program Pin
MailtoGops19-Sep-05 5:16
MailtoGops19-Sep-05 5:16 
GeneralRe: Network program Pin
mikobi19-Sep-05 6:31
mikobi19-Sep-05 6:31 
GeneralRe: Network program Pin
Maximilien19-Sep-05 6:55
Maximilien19-Sep-05 6:55 
GeneralRe: Network program Pin
mikobi19-Sep-05 20:21
mikobi19-Sep-05 20:21 
GeneralRe: Network program Pin
ThatsAlok19-Sep-05 18:27
ThatsAlok19-Sep-05 18:27 
AnswerRe: Network program Pin
David Crow19-Sep-05 7:49
David Crow19-Sep-05 7:49 
GeneralRe: Network program Pin
mikobi19-Sep-05 20:23
mikobi19-Sep-05 20:23 
GeneralRe: Network program Pin
ThatsAlok20-Sep-05 3:41
ThatsAlok20-Sep-05 3:41 

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.