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 |
|
Jacek Piszczek
|
Nov 22, 2007 - 1:59 AM
|
Hi!
There’s a window layout problem when changing the paintmanager in a ribbon application. To reproduce: start the RibbonBar example, select the XP theme, exit the example, start it again, select an Office 2007 theme. As the result the window gets "double" top border and the window close/size buttons are not clickable. It doesn’t happen if the app initially starts with an Office 2007 theme.
Reproduced with 2.81 and 2.82beta
|
|
Jacek Piszczek
|
Nov 23, 2007 - 2:14 AM
|
Thanks for the quick reply. Your fix works.
|
|
Technical Support
|
Nov 22, 2007 - 1:12 PM
|
Thank you for this bug report. To fix it please, add one line of code at the beginning of the CExtPmBridgeNC::_AdjustThemeSettings() method: void CExtPmBridgeNC::_AdjustThemeSettings()
{
if( m_pNcFrameImpl == NULL )
return;
m_pNcFrameImpl->m_bNcFrameImpl_CreatePassed = true; // !!! THIS LINE WAS ADDED !!!
HWND hWndOwn = PmBridge_GetSafeHwnd();
if( hWndOwn == NULL )
return;
. . .
|
|