Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Toolkit Pro
  New Posts New Posts RSS Feed - Change color of resizer button in CXTPResizeDialog
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Change color of resizer button in CXTPResizeDialog

 Post Reply Post Reply
Author
Message
g_j_a_i_n View Drop Down
Groupie
Groupie
Avatar

Joined: 27 August 2005
Status: Offline
Points: 94
Post Options Post Options   Thanks (0) Thanks(0)   Quote g_j_a_i_n Quote  Post ReplyReply Direct Link To This Post Topic: Change color of resizer button in CXTPResizeDialog
    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?
Back to Top
agontarenko View Drop Down
Admin Group
Admin Group


Joined: 25 March 2016
Status: Offline
Points: 294
Post Options Post Options   Thanks (0) Thanks(0)   Quote agontarenko Quote  Post ReplyReply Direct Link To This Post Posted: Yesterday 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


Back to Top
g_j_a_i_n View Drop Down
Groupie
Groupie
Avatar

Joined: 27 August 2005
Status: Offline
Points: 94
Post Options Post Options   Thanks (0) Thanks(0)   Quote g_j_a_i_n Quote  Post ReplyReply Direct Link To This Post Posted: 9 hours 3 minutes ago at 6:01am

Thanks a lot. This is a nice solution Smile
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.125 seconds.