Click here to Skip to main content
15,923,051 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: how to display specific file in a folder using c program in ubuntu? Pin
Richard MacCutchan24-Jul-14 1:38
mveRichard MacCutchan24-Jul-14 1:38 
GeneralRe: how to display specific file in a folder using c program in ubuntu? Pin
mybm124-Jul-14 1:41
mybm124-Jul-14 1:41 
QuestionVisual studio 2010 - class wizard Pin
Member 1095872123-Jul-14 16:58
Member 1095872123-Jul-14 16:58 
AnswerRe: Visual studio 2010 - class wizard Pin
Stefan_Lang24-Jul-14 23:25
Stefan_Lang24-Jul-14 23:25 
QuestionHow to connect and access a SQLite database via C++ Pin
sarah0023-Jul-14 8:26
sarah0023-Jul-14 8:26 
AnswerRe: How to connect and access a SQLite database via C++ Pin
Richard Andrew x6423-Jul-14 8:39
professionalRichard Andrew x6423-Jul-14 8:39 
GeneralRe: How to connect and access a SQLite database via C++ Pin
PIEBALDconsult23-Jul-14 8:48
mvePIEBALDconsult23-Jul-14 8:48 
QuestionHow do you do data exchange (as in DDX_ functions/macros).... Pin
Member 1095872123-Jul-14 5:50
Member 1095872123-Jul-14 5:50 
QuestionIcons are displayed as black squares on remote desktops Pin
APSAccounts23-Jul-14 4:36
APSAccounts23-Jul-14 4:36 
AnswerRe: Icons are displayed as black squares on remote desktops Pin
Richard Andrew x6423-Jul-14 5:02
professionalRichard Andrew x6423-Jul-14 5:02 
GeneralRe: Icons are displayed as black squares on remote desktops Pin
APSAccounts23-Jul-14 5:07
APSAccounts23-Jul-14 5:07 
AnswerRe: Icons are displayed as black squares on remote desktops Pin
Richard MacCutchan23-Jul-14 6:14
mveRichard MacCutchan23-Jul-14 6:14 
GeneralRe: Icons are displayed as black squares on remote desktops Pin
APSAccounts23-Jul-14 22:11
APSAccounts23-Jul-14 22:11 
GeneralRe: Icons are displayed as black squares on remote desktops Pin
Richard MacCutchan23-Jul-14 22:18
mveRichard MacCutchan23-Jul-14 22:18 
GeneralRe: Icons are displayed as black squares on remote desktops Pin
APSAccounts23-Jul-14 22:43
APSAccounts23-Jul-14 22:43 
GeneralRe: Icons are displayed as black squares on remote desktops Pin
Richard MacCutchan23-Jul-14 22:48
mveRichard MacCutchan23-Jul-14 22:48 
GeneralRe: Icons are displayed as black squares on remote desktops Pin
APSAccounts23-Jul-14 22:58
APSAccounts23-Jul-14 22:58 
QuestionUsing CMFCShellListCtrl Pin
Member 1095872122-Jul-14 6:28
Member 1095872122-Jul-14 6:28 
AnswerRe: Using CMFCShellListCtrl Pin
Richard Andrew x6422-Jul-14 8:44
professionalRichard Andrew x6422-Jul-14 8:44 
GeneralRe: Using CMFCShellListCtrl Pin
Member 1095872122-Jul-14 15:37
Member 1095872122-Jul-14 15:37 
QuestionUsing CMFCShellListCtrl Pin
Member 1095872122-Jul-14 6:24
Member 1095872122-Jul-14 6:24 
AnswerRe: Using CMFCShellListCtrl Pin
Richard MacCutchan22-Jul-14 6:54
mveRichard MacCutchan22-Jul-14 6:54 
QuestionVisual studio 2010 compile error - I don't understand how to fix it Pin
Member 1095872122-Jul-14 5:23
Member 1095872122-Jul-14 5:23 
VB
Error   1   error C2504: 'CMyDialog' : base class undefined c:\greg\easywebstoreuploader\easywebstoreuploaderdlg.h  9


In the source file I have included the MyDialog.h above the header file containing the class definition for CEasyWebStoreUploaderDlg but I can't pi$$ this compiler error off and I don't understand why.
Can any one help me?

XML
#include "stdafx.h";
#include "INI.h"
#include <afxinet.h>
#include <afxcmn.h>
#include "MyDialog.h"
//#include "ServerDialog.h"
//#include "ImageDialog.h"
#include "EasyWebStoreUploaderDlg.h"
#include "EasyWebStoreUploader.h"


Header file
/ EasyWebStoreUploaderDlg.h : header file
//

#pragma once

// CEasyWebStoreUploaderDlg dialog
class CEasyWebStoreUploaderDlg : public CMyDialog
{
	// Construction
	public:
		CEasyWebStoreUploaderDlg(CWnd* pParent = NULL);	// standard constructor
		~CEasyWebStoreUploaderDlg();

		// Dialog Data
		enum { IDD = IDD_EASYWEBSTOREUPLOADER_DIALOG };

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

	// Implementation
	protected:
		HICON m_hIcon;
		//CServerDialog m_dialogServer;

		// Generated message map functions
		virtual BOOL OnInitDialog();
		afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
		afx_msg void OnPaint();
		afx_msg HCURSOR OnQueryDragIcon();
		DECLARE_MESSAGE_MAP()

	public:
		afx_msg void OnClickConnect();
		afx_msg void OnClickUploadAll();

		afx_msg void OnChangeTab(NMHDR *pNMHDR, LRESULT *pResult);
		CTabCtrl m_tabCtrl;
};


Source file
// EasyWebStoreUploaderDlg.cpp : implementation file
//

#include "stdafx.h"
#include "INI.h"
#include <afxinet.h>
#include "afxcmn.h"
#include "MyDialog.h"
//#include "ServerDialog.h"
//#include "ImageDialog.h"
#include "EasyWebStoreUploaderDlg.h"
#include "EasyWebStoreUploader.h"

#ifdef _DEBUG
#define new DEBUG_NEW
#endif


// CAboutDlg dialog used for App About

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

	// Dialog Data
		enum { IDD = IDD_ABOUTBOX };

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

	// Implementation
	protected:
		DECLARE_MESSAGE_MAP()
};

CAboutDlg::CAboutDlg() : CDialogEx(CAboutDlg::IDD)
{
}

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

BEGIN_MESSAGE_MAP(CAboutDlg, CDialogEx)
END_MESSAGE_MAP()


// CEasyWebStoreUploaderDlg dialog

CEasyWebStoreUploaderDlg::CEasyWebStoreUploaderDlg(CWnd* pParent /*=NULL*/)
	: CMyDialog(CEasyWebStoreUploaderDlg::IDD, pParent)
{
	m_hIcon = AfxGetApp()->LoadIcon(IDR_MAINFRAME);
}

AnswerRe: Visual studio 2010 compile error - I don't understand how to fix it Pin
Jochen Arndt22-Jul-14 5:44
professionalJochen Arndt22-Jul-14 5:44 
GeneralRe: Visual studio 2010 compile error - I don't understand how to fix it Pin
Member 1095872122-Jul-14 6:26
Member 1095872122-Jul-14 6:26 

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.