Print Page | Close Window

Locked up when using skinning

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=24517
Printed Date: 21 November 2024 at 3:24pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Locked up when using skinning
Posted By: rdhd
Subject: Locked up when using skinning
Date Posted: 31 October 2024 at 10:54am
When I have skinning enabled I managed to lockup our app with V24 of CodeJock. We are tracking the mouse and have a standard loop calling PeekMessage to dispatch WM_PAINT calls. The loop never just keeps executing.

Has anyone really successfully used CJ skinning in an application? We have some docking panes and some windows that are translucent on the screen as well as doing a dynamic move of part of our 3D model (heavy on the OpenGL calls). In this case we are moving a face of a part.

When I break and look at the main thread we are constantly executing skinning code. Here's a common sample with a combo box skin involved. I think everytime I break that combobox code is still executing. I can set a breakpoint in our look and see we just keep peeking and dispatching paint messages.

     ucrtbased.dll!_wcsicmp_l(const wchar_t * lhs, const wchar_t * rhs, __crt_locale_pointers * plocinfo) Line 70    C++
     ucrtbased.dll!_wcsicmp(const wchar_t * lhs, const wchar_t * rhs) Line 112    C++
     ToolkitPro2400vc170x64UD.dll!CXTPSkinManager::IsWindowClassFilteredOut(const wchar_t * lpszClassName) Line 1594    C++
     ToolkitPro2400vc170x64UD.dll!CXTPSkinManager::IsWindowFilteredOut(HWND__ * hWnd, const wchar_t * lpszClassName, tagCREATESTRUCTW * lpcs, int bRecursive) Line 1641    C++
     ToolkitPro2400vc170x64UD.dll!CXTPSkinManager::IsWindowFilteredOut(HWND__ * hWnd, const wchar_t * lpszClassName, tagCREATESTRUCTW * lpcs, int bRecursive) Line 1655    C++
     ToolkitPro2400vc170x64UD.dll!CXTPSkinManagerDetoursApiHook::OnHookDefWindowProcW(HWND__ * hWnd, unsigned int Msg, unsigned __int64 wParam, __int64 lParam) Line 1016    C++
     comctl32.dll!ComboBox_WndProc(struct HWND__ *,unsigned int,unsigned __int64,__int64)    Unknown
     user32.dll!UserCallWinProcCheckWow()    Unknown
     user32.dll!CallWindowProcW()    Unknown
     ToolkitPro2400vc170x64UD.dll!CXTPSkinManagerDetoursApiHook::OnHookCallWindowProcW(__int64(*)(HWND__ *, unsigned int, unsigned __int64, __int64) lpPrevWndFunc, HWND__ * hWnd, unsigned int Msg, unsigned __int64 wParam, __int64 lParam) Line 938    C++
     ToolkitPro2400vc170x64UD.dll!CXTPSkinObject::DefWindowProcW(unsigned int nMsg, unsigned __int64 wParam, __int64 lParam) Line 248    C++
     mfc140ud.dll!CWnd::Default() Line 299    C++
     ToolkitPro2400vc170x64UD.dll!CXTPSkinObjectComboBox::OnStyleChanged() Line 342    C++
     mfc140ud.dll!CWnd::OnWndMsg(unsigned int message, unsigned __int64 wParam, __int64 lParam, __int64 * pResult) Line 2465    C++
     ToolkitPro2400vc170x64UD.dll!CXTPSkinObject::OnHookMessage(unsigned int nMessage, unsigned __int64 & wParam, __int64 & lParam, __int64 & lResult) Line 467    C++
     ToolkitPro2400vc170x64UD.dll!CXTPSkinObjectFrame::OnHookMessage(unsigned int nMessage, unsigned __int64 & wParam, __int64 & lParam, __int64 & lResult) Line 940    C++
     ToolkitPro2400vc170x64UD.dll!CXTPSkinManager::HookWndProc(HWND__ * hWnd, unsigned int message, unsigned __int64 wParam, __int64 lParam) Line 1884    C++
     user32.dll!UserCallWinProcCheckWow()    Unknown
     user32.dll!CallWindowProcW()    Unknown
     ToolkitPro2400vc170x64UD.dll!CXTPSkinObject::DefWindowProcW(unsigned int nMsg, unsigned __int64 wParam, __int64 lParam) Line 257    C++
     mfc140ud.dll!CWnd::Default() Line 299    C++
     ToolkitPro2400vc170x64UD.dll!CXTPSkinObjectComboBox::OnStyleChanged() Line 342    C++
     mfc140ud.dll!CWnd::OnWndMsg(unsigned int message, unsigned __int64 wParam, __int64 lParam, __int64 * pResult) Line 2465    C++
     ToolkitPro2400vc170x64UD.dll!CXTPSkinObject::OnHookDefWindowProc(unsigned int nMessage, unsigned __int64 & wParam, __int64 & lParam, __int64 & lResult) Line 453    C++
     ToolkitPro2400vc170x64UD.dll!CXTPSkinObjectFrame::OnHookDefWindowProc(unsigned int nMessage, unsigned __int64 & wParam, __int64 & lParam, __int64 & lResult) Line 862    C++
     ToolkitPro2400vc170x64UD.dll!CXTPSkinManagerApiHookBase::CallHookDefWindowProc(HWND__ * hWnd, void * pfnOrig, XTPSkinDefaultProc defProc, void * lpPrev, unsigned int nMessage, unsigned __int64 & wParam, __int64 & lParam, __int64 & lResult) Line 268    C++
     ToolkitPro2400vc170x64UD.dll!CXTPSkinManagerDetoursApiHook::OnHookCallWindowProcW(__int64(*)(HWND__ *, unsigned int, unsigned __int64, __int64) lpPrevWndFunc, HWND__ * hWnd, unsigned int Msg, unsigned __int64 wParam, __int64 lParam) Line 926    C++
     comctl32.dll!CallNextSubclassProc()    Unknown
     comctl32.dll!DefSubclassProc()    Unknown
     comctl32.dll!ComboSubclassProc(struct HWND__ *,unsigned int,unsigned __int64,__int64,unsigned __int64,unsigned __int64)    Unknown
     comctl32.dll!CallNextSubclassProc()    Unknown
     comctl32.dll!MasterSubclassProc()    Unknown
     user32.dll!UserCallWinProcCheckWow()    Unknown
     user32.dll!DispatchClientMessage()    Unknown
     user32.dll!__fnDWORD()    Unknown
     ntdll.dll!KiUserCallbackDispatcherContinue()    Unknown
     win32u.dll!NtUserMessageCall()    Unknown
     user32.dll!RealDefWindowProcWorker()    Unknown
     user32.dll!DefWindowProcW()    Unknown
     ToolkitPro2400vc170x64UD.dll!CXTPSkinManagerDetoursApiHook::OnHookDefWindowProcW(HWND__ * hWnd, unsigned int Msg, unsigned __int64 wParam, __int64 lParam) Line 1031    C++
     comctl32.dll!ComboExWndProc(struct HWND__ *,unsigned int,unsigned __int64,__int64)    Unknown
     user32.dll!UserCallWinProcCheckWow()    Unknown
     user32.dll!CallWindowProcW()    Unknown
     ToolkitPro2400vc170x64UD.dll!CXTPSkinManagerDetoursApiHook::CallWindowProcOrig(__int64(*)(HWND__ *, unsigned int, unsigned __int64, __int64) lpPrevWndFunc, HWND__ * hWnd, unsigned int Msg, unsigned __int64 wParam, __int64 lParam) Line 397    C++
     ToolkitPro2400vc170x64UD.dll!CXTPSkinManager::DoCallWindowProc(__int64(*)(HWND__ *, unsigned int, unsigned __int64, __int64) lpPrevWndFunc, HWND__ * hWnd, unsigned int Msg, unsigned __int64 wParam, __int64 lParam) Line 1834    C++
     ToolkitPro2400vc170x64UD.dll!CXTPSkinManager::HookWndProc(HWND__ * hWnd, unsigned int message, unsigned __int64 wParam, __int64 lParam) Line 1908    C++
     user32.dll!UserCallWinProcCheckWow()    Unknown
     user32.dll!DispatchClientMessage()    Unknown
     user32.dll!__fnDWORD()    Unknown
     ntdll.dll!KiUserCallbackDispatcherContinue()    Unknown
     win32u.dll!NtUserMessageCall()    Unknown
     user32.dll!RealDefWindowProcWorker()    Unknown
     user32.dll!DefWindowProcW()    Unknown
     user32.dll!DefDlgProcWorker()    Unknown
     user32.dll!DefDlgProcW()    Unknown
     ToolkitPro2400vc170x64UD.dll!CXTPSkinManagerDetoursApiHook::OnHookDefDlgProcW(HWND__ * hWnd, unsigned int Msg, unsigned __int64 wParam, __int64 lParam) Line 1151    C++
     user32.dll!UserCallWinProcCheckWow()    Unknown
     user32.dll!CallWindowProcW()    Unknown
     ToolkitPro2400vc170x64UD.dll!CXTPSkinManagerDetoursApiHook::OnHookCallWindowProcW(__int64(*)(HWND__ *, unsigned int, unsigned __int64, __int64) lpPrevWndFunc, HWND__ * hWnd, unsigned int Msg, unsigned __int64 wParam, __int64 lParam) Line 938    C++
     mfc140ud.dll!CWnd::DefWindowProcW(unsigned int nMsg, unsigned __int64 wParam, __int64 lParam) Line 1101    C++
     mfc140ud.dll!CWnd::WindowProc(unsigned int message, unsigned __int64 wParam, __int64 lParam) Line 2101    C++
     mfc140ud.dll!AfxCallWndProc(CWnd * pWnd, HWND__ * hWnd, unsigned int nMsg, unsigned __int64 wParam, __int64 lParam) Line 265    C++
     mfc140ud.dll!AfxWndProc(HWND__ * hWnd, unsigned int nMsg, unsigned __int64 wParam, __int64 lParam) Line 418    C++
     mfc140ud.dll!AfxWndProcBase(HWND__ * hWnd, unsigned int nMsg, unsigned __int64 wParam, __int64 lParam) Line 299    C++
     user32.dll!UserCallWinProcCheckWow()    Unknown
     user32.dll!DispatchClientMessage()    Unknown
     user32.dll!__fnDWORD()    Unknown
     ntdll.dll!KiUserCallbackDispatcherContinue()    Unknown
     win32u.dll!NtUserMessageCall()    Unknown
     user32.dll!SendMessageWorker()    Unknown
     user32.dll!SendMessageW()    Unknown
     mfc140ud.dll!CWnd::SendMessageW(unsigned int message, unsigned __int64 wParam, __int64 lParam) Line 32    C++
     controld.dll!CommandBarHeader::OnEraseBkgnd(CDC * pDC) Line 429    C++
     mfc140ud.dll!CWnd::OnWndMsg(unsigned int message, unsigned __int64 wParam, __int64 lParam, __int64 * pResult) Line 2292    C++
     mfc140ud.dll!CWnd::WindowProc(unsigned int message, unsigned __int64 wParam, __int64 lParam) Line 2100    C++
     mfc140ud.dll!AfxCallWndProc(CWnd * pWnd, HWND__ * hWnd, unsigned int nMsg, unsigned __int64 wParam, __int64 lParam) Line 265    C++
     mfc140ud.dll!AfxWndProc(HWND__ * hWnd, unsigned int nMsg, unsigned __int64 wParam, __int64 lParam) Line 418    C++
     mfc140ud.dll!AfxWndProcBase(HWND__ * hWnd, unsigned int nMsg, unsigned __int64 wParam, __int64 lParam) Line 299    C++
     user32.dll!UserCallWinProcCheckWow()    Unknown
     user32.dll!DispatchClientMessage()    Unknown
     user32.dll!__fnDWORD()    Unknown
     ntdll.dll!KiUserCallbackDispatcherContinue()    Unknown
     win32u.dll!NtUserMessageCall()    Unknown
     user32.dll!SendMessageWorker()    Unknown
     user32.dll!SendMessageW()    Unknown
     uxtheme.dll!DrawThemeParentBackgroundEx()    Unknown
     comctl32.dll!_DrawParentBackground(struct HWND__ *,struct HDC__ *,struct tagRECT const *,int)    Unknown
     comctl32.dll!ComboExWndProc(struct HWND__ *,unsigned int,unsigned __int64,__int64)    Unknown
     user32.dll!UserCallWinProcCheckWow()    Unknown
     user32.dll!CallWindowProcW()    Unknown
     ToolkitPro2400vc170x64UD.dll!CXTPSkinManagerDetoursApiHook::CallWindowProcOrig(__int64(*)(HWND__ *, unsigned int, unsigned __int64, __int64) lpPrevWndFunc, HWND__ * hWnd, unsigned int Msg, unsigned __int64 wParam, __int64 lParam) Line 397    C++
     ToolkitPro2400vc170x64UD.dll!CXTPSkinManager::DoCallWindowProc(__int64(*)(HWND__ *, unsigned int, unsigned __int64, __int64) lpPrevWndFunc, HWND__ * hWnd, unsigned int Msg, unsigned __int64 wParam, __int64 lParam) Line 1834    C++
     ToolkitPro2400vc170x64UD.dll!CXTPSkinManager::HookWndProc(HWND__ * hWnd, unsigned int message, unsigned __int64 wParam, __int64 lParam) Line 1908    C++
     user32.dll!UserCallWinProcCheckWow()    Unknown
     user32.dll!DispatchClientMessage()    Unknown
     user32.dll!__fnDWORD()    Unknown
     ntdll.dll!KiUserCallbackDispatcherContinue()    Unknown
     win32u.dll!NtUserMessageCall()    Unknown
     user32.dll!SendMessageWorker()    Unknown
     user32.dll!SendMessageW()    Unknown
     uxtheme.dll!DrawThemeParentBackgroundEx()    Unknown
     comctl32.dll!_DrawParentBackground(struct HWND__ *,struct HDC__ *,struct tagRECT const *,int)    Unknown
     comctl32.dll!ComboBox_PaintImpl(struct tagCBox *,struct HDC__ *,int,int)    Unknown
     comctl32.dll!ComboBox_PaintDirectly(struct tagCBox *,struct HDC__ *,int)    Unknown
     comctl32.dll!ComboBox_Paint(struct tagCBox *,struct HDC__ *,int)    Unknown
     comctl32.dll!ComboBox_WndProc(struct HWND__ *,unsigned int,unsigned __int64,__int64)    Unknown
     user32.dll!UserCallWinProcCheckWow()    Unknown
     user32.dll!CallWindowProcW()    Unknown
     ToolkitPro2400vc170x64UD.dll!CXTPSkinManagerDetoursApiHook::OnHookCallWindowProcW(__int64(*)(HWND__ *, unsigned int, unsigned __int64, __int64) lpPrevWndFunc, HWND__ * hWnd, unsigned int Msg, unsigned __int64 wParam, __int64 lParam) Line 938    C++
     ToolkitPro2400vc170x64UD.dll!CXTPSkinObject::DefWindowProcW(unsigned int nMsg, unsigned __int64 wParam, __int64 lParam) Line 248    C++
     ToolkitPro2400vc170x64UD.dll!CXTPSkinObjectComboBox::OnDraw(CDC * pDC) Line 223    C++
     ToolkitPro2400vc170x64UD.dll!CXTPSkinObjectComboBox::OnPaint() Line 163    C++
     mfc140ud.dll!CWnd::OnWndMsg(unsigned int message, unsigned __int64 wParam, __int64 lParam, __int64 * pResult) Line 2465    C++
     ToolkitPro2400vc170x64UD.dll!CXTPSkinObject::OnHookMessage(unsigned int nMessage, unsigned __int64 & wParam, __int64 & lParam, __int64 & lResult) Line 467    C++
     ToolkitPro2400vc170x64UD.dll!CXTPSkinObjectFrame::OnHookMessage(unsigned int nMessage, unsigned __int64 & wParam, __int64 & lParam, __int64 & lResult) Line 940    C++
     ToolkitPro2400vc170x64UD.dll!CXTPSkinManager::HookWndProc(HWND__ * hWnd, unsigned int message, unsigned __int64 wParam, __int64 lParam) Line 1884    C++
     user32.dll!UserCallWinProcCheckWow()    Unknown
     user32.dll!CallWindowProcW()    Unknown
     ToolkitPro2400vc170x64UD.dll!CXTPSkinObject::DefWindowProcW(unsigned int nMsg, unsigned __int64 wParam, __int64 lParam) Line 257    C++
     ToolkitPro2400vc170x64UD.dll!CXTPSkinObjectComboBox::OnDraw(CDC * pDC) Line 223    C++
     ToolkitPro2400vc170x64UD.dll!CXTPSkinObjectComboBox::OnPaint() Line 163    C++
     mfc140ud.dll!CWnd::OnWndMsg(unsigned int message, unsigned __int64 wParam, __int64 lParam, __int64 * pResult) Line 2465    C++
     ToolkitPro2400vc170x64UD.dll!CXTPSkinObject::OnHookDefWindowProc(unsigned int nMessage, unsigned __int64 & wParam, __int64 & lParam, __int64 & lResult) Line 453    C++
     ToolkitPro2400vc170x64UD.dll!CXTPSkinObjectFrame::OnHookDefWindowProc(unsigned int nMessage, unsigned __int64 & wParam, __int64 & lParam, __int64 & lResult) Line 862    C++
     ToolkitPro2400vc170x64UD.dll!CXTPSkinManagerApiHookBase::CallHookDefWindowProc(HWND__ * hWnd, void * pfnOrig, XTPSkinDefaultProc defProc, void * lpPrev, unsigned int nMessage, unsigned __int64 & wParam, __int64 & lParam, __int64 & lResult) Line 268    C++
     ToolkitPro2400vc170x64UD.dll!CXTPSkinManagerDetoursApiHook::OnHookCallWindowProcW(__int64(*)(HWND__ *, unsigned int, unsigned __int64, __int64) lpPrevWndFunc, HWND__ * hWnd, unsigned int Msg, unsigned __int64 wParam, __int64 lParam) Line 926    C++
     comctl32.dll!CallNextSubclassProc()    Unknown
     comctl32.dll!DefSubclassProc()    Unknown
     comctl32.dll!ComboSubclassProc(struct HWND__ *,unsigned int,unsigned __int64,__int64,unsigned __int64,unsigned __int64)    Unknown
     comctl32.dll!CallNextSubclassProc()    Unknown
     comctl32.dll!MasterSubclassProc()    Unknown
     user32.dll!UserCallWinProcCheckWow()    Unknown
     user32.dll!DispatchClientMessage()    Unknown
     user32.dll!__fnDWORD()    Unknown
     ntdll.dll!KiUserCallbackDispatcherContinue()    Unknown
     win32u.dll!NtUserDispatchMessage()    Unknown
     user32.dll!DispatchMessageWorker()    Unknown
>    partDcxdmD.dll!CDMLRSimplifiedDlg2::TrackMove(CPoint ptStart) Line 4260    C++
     partDcxdmD.dll!CDMLRSimplifiedDlg2::OnLButtonDown(unsigned int nFlags, CPoint point) Line 4234    C++




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