Print Page | Close Window

Change color of resizer button in CXTPResizeDialog

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=24532
Printed Date: 14 June 2025 at 6:59am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Change color of resizer button in CXTPResizeDialog
Posted By: g_j_a_i_n
Subject: Change color of resizer button in CXTPResizeDialog
Date Posted: 01 December 2024 at 11:57am

In order to support dark mode, I am using WM_CTLCOLOR to change color of the controls. But I am unable to change the color of the resizer control that appears in bottom right corner of the CXTPResizeDialog.



Please help. How to change the color of the resizer control?



Replies:
Posted By: agontarenko
Date Posted: 05 December 2024 at 3:39am
Hello,

See please attached screenshot.
I find ScrollBar window and use SetWindowSubclass function to change WM_PAINT message. In this message I draw new image for corner.

Regards,
Artem Gontarenko




Posted By: g_j_a_i_n
Date Posted: 06 December 2024 at 6:01am

Thanks a lot. This is a nice solution Smile



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