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 Tech Support » CExtTabMdiWnd problem Collapse All
Subject Author Date
Offer Har Apr 24, 2008 - 7:03 AM

When the CExtTabMdiWnd is placed on the right side, there is a small indentation problem on the right side as you can see below:


Technical Support Apr 25, 2008 - 7:46 AM

Thank you for reporting the problem. You can fix it by updating CExtPaintManagerOffice2007_Impl::PaintTabNcAreaRect() (in the ../Prof-UIS/Src/ExtPaintManager.cpp file) in this way

void CExtPaintManagerOffice2007_Impl::PaintTabNcAreaRect(
      CDC & dc,
      const RECT & rc,
      CObject * pHelperSrc,
      LPARAM lParam // = 0L
      )
{
      ASSERT_VALID( this );
      ASSERT( dc.GetSafeHdc() != NULL );
      if( IsHighContrast() )
      {
            CExtPaintManagerXP::PaintTabNcAreaRect( dc, rc, pHelperSrc, lParam );
            return;
      }
      if(         pHelperSrc == NULL
            ||    (! pHelperSrc->IsKindOf( RUNTIME_CLASS( CExtTabWnd ) ) )
            ||    ((CExtTabWnd*)pHelperSrc)->_IsCustomLayoutTabWnd()
            )
      {
            CExtPaintManager::PaintTabNcAreaRect( dc, rc, pHelperSrc, lParam );
            return;
      }
      dc.FillSolidRect( &rc, GetColor( _2003CLR_GRADIENT_DARK, NULL ) );
}