Thank you for an answer.
*************************************************
Question1:
*************************************************
>The pDestBar parameter in the CMyCustomDynTabControlBar::_CanDockToTabbedContainers()
>might also be a pointer to the CMyCustomDynTabControlBar instance when one tabbed group
>is docked into other. The following code will walk through all the control bars in the
>tabbed container
I tried to make it according to the instructions.
However, I do not work.
bool CExtDynTabControlBarCust::_CanDockToTabbedContainers( CExtDynTabControlBar * pDestBar )
{
INT nItemCount = CExtDynTabControlBar::GetSwitcherItemCount();
for( INT nBar = 0; nBar < nItemCount; nBar ++ ) {
CExtControlBar * pExtBar = GetBarAt( nBar, true );
ASSERT_VALID( pExtBar );
}
return true;
}
I become an error to build when I add const to a function.
*************************************************
Question2:
*************************************************
I did not do the docking of a tab.
However, I dock besides it.
Bar(A) Bar(B)
_____ _______
|_____| |_______|
| | + | | __________________________
| | | | == | Bar(A) | Bar(B) |
|_____| |_______| |____________|_____________|
| | |
| | |
| | |
|____________|_____________|
It does not want to be possible by union.
Please teach a way.
*************************************************
Question3:
*************************************************
bool CExtControlBar::_CanDockToInnerCircles() const
What is this?
Thank you.