Professional UI Solutions
Site Map   /  Register
 
 

Forum

Please Log In to post a new message or reply to an existing one. If you are not registered, please register.

NOTE: Some forums may be read-only if you are not currently subscribed to our technical support services.

Forums » Prof-UIS General Discussion » An error occurs. Collapse All
Subject Author Date
tarou iiyama Oct 13, 2006 - 3:53 AM

Hello

An error occurs at the following points.
There is not resource information ??

>>>>>>        VERIFY( pPopup->ItemInsert( ID_EXT_CUSTOMIZE ) );
        CExtPopupMenuWnd::MENUITEMDATA & mi =
            pPopup->ItemGetInfo(
                pPopup->ItemGetCount() - 1
                );
        mi.SetForceEnabled();

Technical Support Oct 13, 2006 - 7:43 AM

Please check that you included the resource definition file:

#include <Resources/Resource.h>

tarou iiyama Oct 13, 2006 - 7:41 PM

Hello

It seems to be a bug.
assert comes out with a RibbonBar Debug sample.

ttp://profuis0.tripod.com/20061014/error.jpg
ttp://profuis0.tripod.com/20061014/Prof-UIS.lzh


Though they do not use CExtCustomizeSite, these parameters become effective.

#if (!defined __EXT_MFC_NO_CUSTOMIZE)
    if(        (!bPreNotificationPassed)
        &&    (    nHelperNotificationType == CExtControlBar::POPUP_MENU_EVENT_DATA::__PMED_CONTROLBAR_CTX
            ||    nHelperNotificationType == CExtControlBar::POPUP_MENU_EVENT_DATA::__PMED_CONTROLBAR_NC_CTX
            ||    nHelperNotificationType == CExtControlBar::POPUP_MENU_EVENT_DATA::__PMED_DOCKBAR_CTX
            ||    nHelperNotificationType == CExtControlBar::POPUP_MENU_EVENT_DATA::__PMED_STATUSBAR_CTX
            ||    nHelperNotificationType == CExtControlBar::POPUP_MENU_EVENT_DATA::__PMED_MINIFRAME_NC_CTX
            )
>>>>        &&    CExtCustomizeSite::GetCustomizeSite(
>>>>            pBarEventSrc->GetSafeHwnd()
>>>>                ) != NULL
>>>>        )
    { // add customize command
        // add tail separator
        nCount = pPopup->ItemGetCount();
        if( nCount > 0 )

Technical Support Oct 17, 2006 - 11:32 AM

Thank you for reporting the bug. We have fixed it. Prof-UIS 2.61 will be available in a few days.