0

I have a container window (CFrameWnd) that contains child windows, if I set the spy++ on a child window in some cases I do not see any message passing. Why? what 's the system that regulates messages between windows? I checked that all windows are enabled.

The child window inherits from CDialog and has the WS_CHILD style

class PanelDialog : public CDialog
{
    DECLARE_DYNAMIC(PanelDialog)

public:
    PanelDialog(CWnd* pParent = NULL);   // standard constructor
    virtual ~PanelDialog();

// Dialog Data
    enum { IDD = IDD_PANEL_DIALOG };

private:


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

    DECLARE_MESSAGE_MAP()
};
lupok
  • 1,025
  • 11
  • 15
  • This question is a bit too general to be able to give a precise answer. The communication between most child windows and their parent depends on their class type. Can you give a specific example of a child window that shows no communication? ps. Static controls communicate very little (because they are static!). – user1793036 Feb 20 '14 at 00:30
  • I added information about the child window – lupok Feb 21 '14 at 10:22

0 Answers0