Print Page | Close Window

Combo Box Skinning Problem in 20.3.0

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Toolkit Pro
Forum Description: Topics Related to Codejock Toolkit Pro
URL: http://forum.codejock.com/forum_posts.asp?TID=24298
Printed Date: 25 April 2024 at 1:13am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Combo Box Skinning Problem in 20.3.0
Posted By: a.schoenle
Subject: Combo Box Skinning Problem in 20.3.0
Date Posted: 17 June 2022 at 10:19am
Updating from 19.2.0 to 20.3.0 skinning and setting text and background color on the ComboBox did no longer work as expected. I have already issued a ticket:

The combo box ignores its background and text color. It seems like the problem is in XTPSlkinObjectComboBox.cpp on line 218. Replacing

DefWindowProc(WM_PRINT, XTPToWPARAM(memDC.m_hDC), PRF_CLIENT);

with

DefWindowProc(WM_PAINT, (WPARAM)memDC.m_hDC, 0);

fixes the problem.

Until I get an answer: Is this indeed a bug or is there a reason why the original code calls WM_PRINT?



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