Re: [RESOLVED] Creating DialogBar with my own controls (MFC)
Dear All, (JazzDev, VictorN, ovidiucucu,....everyone)
Could you help me solve my problem as a continuation of this topic. My problem as follows:
1) I followed the link : How to Initialize Child Controls in a Derived CDialogBar
To insert an object of CDialogBar in my app which is written in VC+2005.
However I gets an error, I could not know why eventhough I have double checked the instruction.
Details:
I derived a "CPane1" class from CDialogBar
Code: Pane1.h
[/CODE]#pragma once
// CPane1 dialog
class CPane1 : public CDialogBar
{
DECLARE_DYNAMIC(CPane1)
public:
//CPane1(CWnd* pParent = NULL); // standard constructor
CPane1();
virtual ~CPane1();
// Dialog Data
enum { IDD = IDD_PANE_DIALOG};
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
afx_msg LONG OnInitDialog ( UINT, LONG ); // <-Add this line.
* The Best Reasons to Target Windows 8
Learn some of the best reasons why you should seriously consider bringing your Android mobile development expertise to bear on the Windows 8 platform.