Click here to Skip to main content
15,891,136 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
I am working with an MFC Dialog Application built with VS 2010
My application uses CPropertySheet with multiple CPropertyPage's and on one of them I am using a CMFCPropertyGridCtrl. The Dialog associated with that page handles PreTranslateMessage's.

When running this code on a Windows 7 Touch Screen computer, I get the following exception in the PreTranslateMessage handling a WM_MOUSEDOWN for the CMFCPropertyGridCtrl which eventually calls IsDialogMessaag():

C++
mfc100ud.dll!ATL::IAccessibleProxyImpl<ATL::CAccessibleProxy>::get_accParent(IDispatch * * ppdispParent)  Line 69   C++

// Delegate to standard helper?
HRESULT CWnd::get_accParent(IDispatch **ppdispParent)
{
    ASSERT(m_pStdObject != NULL);
    return m_pStdObject->get_accParent(ppdispParent);
}
The problem is that ppdispParent points to a NULL.
I have no idea what should be done to fix this???
Can anyone help explain this?
Posted
Updated 4-Oct-12 7:17am
v2

1 solution

Please do not post the same question in multiple forums; you alread posted this in the C/C++/MFC forum[^].
 
Share this answer
 
Comments
Bob Pryor 4-Oct-12 17:11pm    
I'm new to posting questions and when I went to 'quick answers' and looked at all unanswered mine wasn't there so didn't look like the original was posted where anyone would see it.
Richard MacCutchan 5-Oct-12 3:26am    
All questions get seen, but not all questions get answered.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900