Print Page | Close Window

[solved] Disable Report with VS2015DARK theme

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Report Control
Forum Description: Topics Related to Codejock Report Control
URL: http://forum.codejock.com/forum_posts.asp?TID=22848
Printed Date: 28 April 2024 at 1:08pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: [solved] Disable Report with VS2015DARK theme
Posted By: cluster
Subject: [solved] Disable Report with VS2015DARK theme
Date Posted: 15 January 2016 at 11:30am
Hello Support Team,

I want to disable a ReportControl window by EnableWindow(FALSE) in a VS2015Dark theme.
And it looks very bright. Is there a way to change the color depend on which theme is used?
Now the color is hard coded:

    if (!IsWindowEnabled() && GetPaintManager()->m_bGrayIfDisable)
    {
        CXTPClientRect rcClient(this);
        XTPImageManager()->DisableBitmap(*pDC, rcClient, RGB(250, 250, 250), RGB(128, 128, 128));
    }

for Dark theme I would prefer:
RGB(100, 100, 100), RGB(30, 30, 30)

Or could you make the Paint function virtual? Right now there is no way to change this color...

thanks!



Replies:
Posted By: olebed
Date Posted: 18 January 2016 at 2:48pm
Hello cluster,

Thank you for bringing this to our attention.
I'm glad to inform you that the issue has been fixed by adding new color properties to ReportPaintManager and appropriate key-values in INI files.

The fix will be available in the next beta or final release.

Regards,
 Oleksandr Lebed



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