Dear SupportTeam
Hi.
Application becomes slow overall where it was upgraded to Prof-UIS3.01 from Prof-UIS2.87
(This is in the release version)
For example, when a window becomes active , when a child window is created ... etc.
As a result of investigating the cause, it became quickly by replacing the source of the Prof-UIS3.01 from Prof-UIS2.87 the location of the following ExtPaintManager.cpp.
Prof-UIS3.01 ExtPaintManager.cpp(3283)
bool CExtPaintManager::NcFrame_IsSupported(
const CWnd * pWnd,
LPARAM lParam // = 0L
) const
{
ASSERT_VALID( this );
lParam;
if( pWnd->GetSafeHwnd() == NULL )
return false;
// if( g_PaintManager.m_DWM.IsCompositionEnabled() )
// return false;
// if( ! g_PaintManager.m_UxTheme.IsNonClientThemed() )
// return false;
// if( ! g_PaintManager.m_UxTheme.IsControlsThemed() )
// return false;
// if( ! g_PaintManager.m_UxTheme.IsAppThemed() )
// return false;
return true;
}
Prof-UIS2.87 ExtPaintManager.cpp(3587)
bool CExtPaintManager::NcFrame_IsSupported(
const CWnd * pWnd,
LPARAM lParam // = 0L
) const
{
ASSERT_VALID( this );
pWnd;
lParam;
return false;
}
Incidentally,I asked earlier
http://www.prof-uis.com/prof-uis/tech-support/support-forum/the-frame-and-icon-of-a-child-window-are-strange-70957.aspxThis will also be solved by modifying as described above
Question1CExtPaintManager::NcFrame_IsSupported() function do they determine what support?
Question2If we made a modification of the above, any problems happens elsewhere?
Question3Please tell me solutions to problem other than the above.
(For example, how to set up a regular that do not support NCFrame)
--------------------------------------------------------------
Development and operating environment
Windows7 SP1 32bit (Japanese)
VisualStuido2013 Update2 (Japanese)
Prof-UISv3.01(mfc)
----------------------------------------------------------------
Thanks.