Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7433289
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 29, 20262026-05-29T09:38:43+00:00 2026-05-29T09:38:43+00:00

In my MFC application I used CSplitterWnd to create two panes and each pane

  • 0

In my MFC application I used CSplitterWnd to create two panes and each pane is a CFormView dialog box. When run this GUI application the splitter is working and both panes are showing but all controls (button, edit box, combo box…) are disabled. Both dialog boxes have property of ‘child’ and ‘no border’.

Did I miss something to enable all those conntrols on the pane view?

Thanks a lot for help.

CK

/////////// Header file
class CParentSelectionDlg : public CFormView
{
protected:
    CParentSelectionDlg();           // protected constructor used by dynamic creation
    DECLARE_DYNCREATE(CParentSelectionDlg)

// Form Data
public:
    //{{AFX_DATA(CParentSelectionDlg)
    enum { IDD = IDD_PARENT_SELECTION };
        // NOTE: the ClassWizard will add data members here
    //}}AFX_DATA

// Attributes
public:

// Operations
public:

// Overrides
    // ClassWizard generated virtual function overrides
    //{{AFX_VIRTUAL(CParentSelectionDlg)
    public:
    virtual void OnInitialUpdate(); 
    protected:
    virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
    //}}AFX_VIRTUAL

// Implementation
protected:
    virtual ~CParentSelectionDlg();
#ifdef _DEBUG
    virtual void AssertValid() const;
    virtual void Dump(CDumpContext& dc) const;
#endif

    // Generated message map functions
    //{{AFX_MSG(CParentSelectionDlg)
    afx_msg void OnButtonSave();
    //}}AFX_MSG
    DECLARE_MESSAGE_MAP()
};


/////////////////////////////// CPP

IMPLEMENT_DYNCREATE(CParentSelectionDlg, CFormView)

CParentSelectionDlg::CParentSelectionDlg()
    : CFormView(CParentSelectionDlg::IDD)
{
    //{{AFX_DATA_INIT(CParentSelectionDlg)
        // NOTE: the ClassWizard will add member initialization here
    //}}AFX_DATA_INIT
}

CParentSelectionDlg::~CParentSelectionDlg()
{
}

void CParentSelectionDlg::DoDataExchange(CDataExchange* pDX)
{
    CFormView::DoDataExchange(pDX);
    //{{AFX_DATA_MAP(CParentSelectionDlg)
        // NOTE: the ClassWizard will add DDX and DDV calls here
    //}}AFX_DATA_MAP
}


BEGIN_MESSAGE_MAP(CParentSelectionDlg, CFormView)
    //{{AFX_MSG_MAP(CParentSelectionDlg)
    ON_BN_CLICKED(IDC_BUTTON_SAVE, OnButtonSave)
    //}}AFX_MSG_MAP
END_MESSAGE_MAP()

/////////////////////////////////////////////////////////////////////////////
// CParentSelectionDlg diagnostics

#ifdef _DEBUG
void CParentSelectionDlg::AssertValid() const
{
    CFormView::AssertValid();
}

void CParentSelectionDlg::Dump(CDumpContext& dc) const
{
    CFormView::Dump(dc);
}
#endif //_DEBUG

void CParentSelectionDlg::OnInitialUpdate() 
{
    CFormView::OnInitialUpdate();

}


/////////////////////////////////////////////////////////////////////////////
// CParentSelectionDlg message handlers

void CParentSelectionDlg::OnButtonSave() 
{
    // TODO: Add your control notification handler code here

}
/// Thanks a lot
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-29T09:38:44+00:00Added an answer on May 29, 2026 at 9:38 am

    I bet your message map isn’t set up correctly.

    Can you post your code?

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I used Visual Studio's Application Wizard to create a skeleton MFC program with a
The MFC application that i created is dialog based. Just one dialog thats all.
My application used to use an MFC CEdit control and we had no problems
I have a C++/MFC application I need to restructure. The app used to process
I'm trying to create an MFC application wherein the user can select a file
I have developed a quite large application using MFC. Naturaly, I used GDI for
This is my first MFC application away from VC6, and I feel a little
I am currently planning to access my MFC Dialog based application's .dll file using
I am updating an old MFC application that used WinHelp so that it now
In my MFC application, when I call CComboBox::ShowDropDown(), the mouse cursor is hidden until

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.