Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Skin Framework
  New Posts New Posts RSS Feed - Skin/Theme issue in version 16.3.0
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Skin/Theme issue in version 16.3.0

 Post Reply Post Reply
Author
Message
KumarCJ View Drop Down
Groupie
Groupie
Avatar

Joined: 02 April 2007
Location: India
Status: Offline
Points: 96
Post Options Post Options   Thanks (0) Thanks(0)   Quote KumarCJ Quote  Post ReplyReply Direct Link To This Post Topic: Skin/Theme issue in version 16.3.0
    Posted: 14 March 2014 at 7:38am
Hi Support team,

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
Back to Top
Keeper View Drop Down
Newbie
Newbie


Joined: 25 November 2011
Status: Offline
Points: 3
Post Options Post Options   Thanks (0) Thanks(0)   Quote Keeper Quote  Post ReplyReply Direct Link To This Post 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);
}
Back to Top
astoyan View Drop Down
Admin Group
Admin Group
Avatar

Joined: 24 August 2013
Status: Offline
Points: 284
Post Options Post Options   Thanks (0) Thanks(0)   Quote astoyan Quote  Post ReplyReply Direct Link To This Post 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
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.124 seconds.