Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
B

Bob Pryor

@Bob Pryor
About
Posts
2
Topics
1
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Exception in IAccessibleProxyImpl from CMFCPropertyGridCtrl
    B Bob Pryor

    I've found the solution to this problem. It appears to be related to the HTML control issue discussed in: http://support.microsoft.com/kb/954251/de I added the following WM_DESTROY handler to my CMFCPropertyGridCtrl. void CPropGridCtrl::OnDestroy() { if ( NULL != m_pStdObject ) { m_pStdObject->Release(); m_pStdObject = NULL; } CMFCPropertyGridCtrl::OnDestroy(); } When I run with this, I don't see any crashes, but without it I get them so looks like this is the magic bullet.

    C / C++ / MFC c++ help visual-studio question

  • Exception in IAccessibleProxyImpl from CMFCPropertyGridCtrl
    B Bob Pryor

    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(): mfc100ud.dll!ATL::IAccessibleProxyImplATL::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?

    C / C++ / MFC c++ help visual-studio question
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups