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

C / C++ / MFC

 
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 
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 
QuestionRegarding Image re sizing using Tiva c series MCU and Keil as IDE. Pin
Member 1083350122-Jul-14 2:09
Member 1083350122-Jul-14 2:09 
AnswerRe: Regarding Image re sizing using Tiva c series MCU and Keil as IDE. Pin
CPallini22-Jul-14 2:40
mveCPallini22-Jul-14 2:40 
GeneralRe: Regarding Image re sizing using Tiva c series MCU and Keil as IDE. Pin
Member 1083350122-Jul-14 2:56
Member 1083350122-Jul-14 2:56 
QuestionRe: Regarding Image re sizing using Tiva c series MCU and Keil as IDE. Pin
CPallini22-Jul-14 6:07
mveCPallini22-Jul-14 6:07 
AnswerRe: Regarding Image re sizing using Tiva c series MCU and Keil as IDE. Pin
Member 1083350122-Jul-14 19:05
Member 1083350122-Jul-14 19:05 
QuestionRe: Regarding Image re sizing using Tiva c series MCU and Keil as IDE. Pin
CPallini22-Jul-14 20:29
mveCPallini22-Jul-14 20:29 
AnswerRe: Regarding Image re sizing using Tiva c series MCU and Keil as IDE. Pin
Member 1083350123-Jul-14 0:20
Member 1083350123-Jul-14 0:20 
GeneralRe: Regarding Image re sizing using Tiva c series MCU and Keil as IDE. Pin
CPallini23-Jul-14 0:50
mveCPallini23-Jul-14 0:50 
GeneralRe: Regarding Image re sizing using Tiva c series MCU and Keil as IDE. Pin
Member 1083350123-Jul-14 1:01
Member 1083350123-Jul-14 1:01 
GeneralRe: Regarding Image re sizing using Tiva c series MCU and Keil as IDE. Pin
CPallini23-Jul-14 1:23
mveCPallini23-Jul-14 1:23 
QuestionPRINTDLG to CPrintInfo Pin
_Flaviu21-Jul-14 23:43
_Flaviu21-Jul-14 23:43 
AnswerRe: PRINTDLG to CPrintInfo Pin
Richard MacCutchan22-Jul-14 0:29
mveRichard MacCutchan22-Jul-14 0:29 
GeneralRe: PRINTDLG to CPrintInfo Pin
_Flaviu22-Jul-14 1:22
_Flaviu22-Jul-14 1:22 
QuestionRe: PRINTDLG to CPrintInfo Pin
Richard MacCutchan22-Jul-14 2:19
mveRichard MacCutchan22-Jul-14 2:19 

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.