Crash on custom item |
Post Reply |
Author | |
zaksoft
Senior Member Joined: 05 June 2003 Location: Italy Status: Offline Points: 162 |
Post Options
Thanks(0)
Posted: 08 March 2007 at 1:11am |
I've inserted skin manager (and only this - no other items from toolkit pro - linked statically) in an old app to give a fresh look, all features seem woorking as aspected except for 2 point
1) I use a library from FarPoint ( calendar3, DPP32d30.DLL ) and when I use GetDlgItem(..)->ShowWindow( SW_SHOW) on the control (it's a dialog page with many tabs) the app crashes calling
if (CWnd::GrayCtlColor((HDC)wParam, (HWND)lParam, (UINT)(nMessage - WM_CTLCOLORMSGBOX),m_pManager->GetMetrics()->m_brushDialog, 0))
in xtpskinobjectframe.cpp. Of course it works in W2K, XP, Vista if the skin manager is not activated or if the control is never shown. Any suggestion ?
2) I've seen that object created dinamically (ie using CreateEx( ...) at runtime are not skinned. Any hints?
Version 1.42
Thanxs
|
|
VS2022 - MFC MBCS Statically linked
XTP 23.1 Static Link --------------------------------------------------------- Davide Zaccanti - ZakSoft - www.zaksoft.com |
|
Post Reply | |
Tweet
|
Forum Jump | Forum Permissions You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |