Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Skin Framework
  New Posts New Posts RSS Feed - Crash on custom item
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Crash on custom item

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

Joined: 05 June 2003
Location: Italy
Status: Offline
Points: 162
Post Options Post Options   Thanks (0) Thanks(0)   Quote zaksoft Quote  Post ReplyReply Direct Link To This Post Topic: Crash on custom item
    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

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