Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Skin Framework
  New Posts New Posts RSS Feed - Locked up when using skinning
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Locked up when using skinning

 Post Reply Post Reply
Author
Message
rdhd View Drop Down
Senior Member
Senior Member
Avatar

Joined: 13 August 2007
Location: United States
Status: Offline
Points: 886
Post Options Post Options   Thanks (0) Thanks(0)   Quote rdhd Quote  Post ReplyReply Direct Link To This Post Topic: Locked up when using skinning
    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++

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.155 seconds.