Is there any way to stop the auto-scrolling of a menu item? | developer.brewmp.com Is there any way to stop the auto-scrolling of a menu item? | developer.brewmp.com

Developer

Is there any way to stop the auto-scrolling of a menu item?

Forums:

My problem is:

I listed several phone numbers in a menu. If the menu item text is longer than the screen width, when this item is highlighted, it will automatically scroll to let the user see the entire item. Normally that is a good feature.

But when I make a phone call from this menu, a "Privacy Alert" dialog will pop up. The auto-scrolling item will overlap with this Alert screen.

I tried use
IMENUCTL_SetActive( pApp->m_pMenu, FALSE);
, but it cause the "Privacy Alert" not showing correctly.

Is there any other way to stop the auto-scrolling of a menu item?

Thanks.

It appears that when setting the item text and redrawing the menu
the scrolling stops.. strange, but works :
CtlAddItem pai ;
IMENUCTL_GetItem(m_pFolderMenu,m_nCurMenuSelection,&pai) ;
WSTRCPY(m_tmpBuf,pai.pText) ;
IMENUCTL_SetItemText(m_pFolderMenu,m_nCurMenuSelection,NULL,0,L"212121212");
IMENUCTL_Redraw(m_pFolderMenu);
IMENUCTL_SetItemText(m_pFolderMenu,m_nCurMenuSelection,NULL,0,m_tmpBuf);
IMENUCTL_Redraw(m_pFolderMenu);

It appears that when setting the item text and redrawing the menu
the scrolling stops.. strange, but works :
CtlAddItem pai ;
IMENUCTL_GetItem(m_pFolderMenu,m_nCurMenuSelection,&pai) ;
WSTRCPY(m_tmpBuf,pai.pText) ;
IMENUCTL_SetItemText(m_pFolderMenu,m_nCurMenuSelection,NULL,0,L"212121212");
IMENUCTL_Redraw(m_pFolderMenu);
IMENUCTL_SetItemText(m_pFolderMenu,m_nCurMenuSelection,NULL,0,m_tmpBuf);
IMENUCTL_Redraw(m_pFolderMenu);