Topic
IC4NOTICE: developerWorks Community will be offline May 29-30, 2015 while we upgrade to the latest version of IBM Connections. For more information, read our upgrade FAQ.
1 reply Latest Post - ‏2012-11-12T06:18:59Z by SystemAdmin
SystemAdmin
SystemAdmin
16727 Posts
ACCEPTED ANSWER

Pinned topic MFC Application returning ObjectNotFoundException

‏2012-11-12T05:49:17Z |
Hi,

I am using RFT 8.2.

I am getting following error on playback -
exception_message = Looking for GuiSubitemTestObject(Name: menuBartoolBar, Map: MenuBar) - no plausible candidate was found.

What are reasons for getting this error for a Native C++ code?

Thanks & Regards,
-Umesh
Updated on 2012-11-12T06:18:59Z at 2012-11-12T06:18:59Z by SystemAdmin
  • SystemAdmin
    SystemAdmin
    16727 Posts
    ACCEPTED ANSWER

    Re: MFC Application returning ObjectNotFoundException

    ‏2012-11-12T06:18:59Z  in response to SystemAdmin
    ...additional details on the menu bar.

    Following lines indicate the type of the menubar and the settings used.

    CMFCMenuBar m_wndMenuBar;
    m_wndMenuBar.SetPaneStyle(m_wndMenuBar.GetPaneStyle() | CBRS_SIZE_DYNAMIC | CBRS_TOOLTIPS | CBRS_FLYBY);
    m_wndMenuBar.EnableDocking(CBRS_ALIGN_ANY);

    Thanks,
    -Umesh