Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Report Control
  New Posts New Posts RSS Feed - Windows Theme Change Colors
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Windows Theme Change Colors

 Post Reply Post Reply
Author
Message
Willowmaster View Drop Down
Senior Member
Senior Member
Avatar

Joined: 12 July 2010
Location: Netherlands
Status: Offline
Points: 180
Post Options Post Options   Thanks (0) Thanks(0)   Quote Willowmaster Quote  Post ReplyReply Direct Link To This Post Topic: Windows Theme Change Colors
    Posted: 09 September 2011 at 6:54am
When changing the windows theme to a highcontrast theme the reportcontrol background color won't be updated. Is there a way to tell the reportcontrol to update its systemcolors? I've tried these function:
- ColorManager.SetColor(lngColorLoop, ColorManager.Color(lngColorLoop))
- Paintmanager.Refreshmetrics
- Redraw
 
Thanks in advance!
Product: Xtreme SuitePro (ActiveX) version 15.3.1

Platform: Windows XP (32bit) - SP 3 (on VMWare)

Language: Visual Basic 6.0



Back to Top
Willowmaster View Drop Down
Senior Member
Senior Member
Avatar

Joined: 12 July 2010
Location: Netherlands
Status: Offline
Points: 180
Post Options Post Options   Thanks (0) Thanks(0)   Quote Willowmaster Quote  Post ReplyReply Direct Link To This Post Posted: 21 September 2011 at 4:41am

Alright. I found out that this is a control problem. The report control is on a usercontrol and the usercontrol is on a picturebox therefore does not receive the right messages to update its colors. Without the picturebox the reportcontrol updates its colors but it doesn't redraw until you select the form the reportcontrol is on.

Fonts are not updated at all. When you set a different or a bigger font the reportcontrols font stays the same. Even after a Paintmanager.Refreshmetrics and then a redraw.
Product: Xtreme SuitePro (ActiveX) version 15.3.1

Platform: Windows XP (32bit) - SP 3 (on VMWare)

Language: Visual Basic 6.0



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.203 seconds.