Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Toolkit Pro
  New Posts New Posts RSS Feed - Combo Box Skinning Problem in 20.3.0
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Combo Box Skinning Problem in 20.3.0

 Post Reply Post Reply
Author
Message
a.schoenle View Drop Down
Newbie
Newbie


Joined: 16 November 2018
Status: Offline
Points: 8
Post Options Post Options   Thanks (0) Thanks(0)   Quote a.schoenle Quote  Post ReplyReply Direct Link To This Post Topic: Combo Box Skinning Problem in 20.3.0
    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?
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.266 seconds.