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.
Subject |
Author |
Date |
|
Marcos Siqueira
|
Jul 31, 2005 - 12:17 PM
|
Hi, I saw that in method CExtControlBar::NcButtons_RemoveAt() you dont call m_vNcButtons.RemoveAt(nIndex); is this intentional ? in this case how can i delete a nc button ? Thanks
|
|
Technical Support
|
Aug 1, 2005 - 5:37 AM
|
Thank you for the bug information. Please update the source code of the CExtControlBar::NcButtons_RemoveAt() method:
void NcButtons_RemoveAt( INT nIndex )
{
ASSERT_VALID( this );
ASSERT( nIndex >= 0 && nIndex < m_vNcButtons.GetSize() );
CExtBarNcAreaButton * pBtnOld =
m_vNcButtons.GetAt( nIndex );
ASSERT_VALID( pBtnOld );
pBtnOld->OnNcDestroy();
m_vNcButtons.RemoveAt( nIndex );
}
|
|