Print Page | Close Window

Skin/Theme issue in version 16.3.0

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Skin Framework
Forum Description: Topics Related to Codejock Skin Framework
URL: http://forum.codejock.com/forum_posts.asp?TID=22238
Printed Date: 21 November 2024 at 7:32pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Skin/Theme issue in version 16.3.0
Posted By: KumarCJ
Subject: Skin/Theme issue in version 16.3.0
Date Posted: 14 March 2014 at 7:38am
Hi Support team,

https://forum.codejock.com/uploads/2903/Screenshots.zip" rel="nofollow - uploads/2903/Screenshots.zip

Please see attached 2 screenshots
1. Screenshot with version 16.2.4 (CJ-16.2.4.PNG)
2. Screenshot with version 16.3.0 (CJ-16.3.0.PNG)

Dialog background is grayed for office 2007 in version 16.3.0 but for version 16.2.4 dialog background works Ok.

See Skin Controls sample program with with office 2007 Visual Theme.

Please help us on this.

Thanks,
Saket Kumar  


-------------
-- Saket Kumar



Replies:
Posted By: Keeper
Date Posted: 20 March 2014 at 4:16pm

I have the same problem. I made a temporary patch and rebuild XTP.

BOOL CXTPSkinObjectFrame::OnHookDefWindowProc(UINT nMessage, WPARAM& wParam, LPARAM& lParam, LRESULT& lResult)

{
if (WM_CTLCOLORBTN == nMessage ||
WM_CTLCOLORDLG == nMessage ||
WM_CTLCOLORSTATIC == nMessage ||
WM_CTLCOLOREDIT == nMessage ||
WM_CTLCOLORLISTBOX == nMessage)
{
if (m_strClassName == _T("COMBOBOX"))
return FALSE;
/*
if (IsDefWindowProcAvail(nMessage) &&
(m_dwDialogTexture != ETDT_ENABLETAB || !m_bActiveX))
{
return FALSE;
}
*/

if (nMessage == WM_CTLCOLOREDIT || nMessage == WM_CTLCOLORLISTBOX)
{
::SetBkColor((HDC)wParam, GetColor(COLOR_WINDOW));
::SetTextColor((HDC)wParam, GetColor(COLOR_WINDOWTEXT));
lResult = (LRESULT)GetMetrics()->m_brushWindow;
return TRUE;
}

if (CWnd::GrayCtlColor((HDC)wParam, (HWND)lParam,
(UINT)(nMessage - WM_CTLCOLORMSGBOX),
GetMetrics()->m_brushDialog, 0))
{
lResult = (LRESULT)GetClientBrush((HDC)wParam, (HWND)lParam, (UINT)(nMessage - WM_CTLCOLORMSGBOX));
return TRUE;
}
}

return CXTPSkinObject::OnHookDefWindowProc(nMessage, wParam, lParam, lResult);
}


Posted By: astoyan
Date Posted: 13 April 2014 at 10:32pm
Hello,

The issue has been fixed in version 16.3.1. Please update and make sure everything works fine on your side.

Thank you.
Regards,
  Alexander Stoyan



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net