Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Report Control
  New Posts New Posts RSS Feed - How to change backcolor of column header
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

How to change backcolor of column header

 Post Reply Post Reply
Author
Message
NanoSofT View Drop Down
Newbie
Newbie


Joined: 31 July 2007
Status: Offline
Points: 5
Post Options Post Options   Thanks (0) Thanks(0)   Quote NanoSofT Quote  Post ReplyReply Direct Link To This Post Topic: How to change backcolor of column header
    Posted: 09 October 2007 at 11:38am
Is there is any way that i could set different colors to the back color of the columns header ?


Back to Top
sserge View Drop Down
Moderator Group
Moderator Group


Joined: 01 December 2004
Status: Offline
Points: 1297
Post Options Post Options   Thanks (0) Thanks(0)   Quote sserge Quote  Post ReplyReply Direct Link To This Post Posted: 09 October 2007 at 4:17pm

wndReportControl.PaintManager.CaptionBackColor = RGB(r, g, b)


--
WBR,
Serge
Back to Top
mgampi View Drop Down
Senior Member
Senior Member
Avatar

Joined: 14 July 2003
Status: Offline
Points: 1201
Post Options Post Options   Thanks (0) Thanks(0)   Quote mgampi Quote  Post ReplyReply Direct Link To This Post Posted: 09 October 2007 at 4:58pm
Hi Serge;
is this on a per column basis or only for the whole caption?
Martin

Product: Xtreme Toolkit v 22.1.0, new Projects v 24.0.0
Platform: Windows 10 v 22H2 (64bit)
Language: VC++ 2022
Back to Top
NanoSofT View Drop Down
Newbie
Newbie


Joined: 31 July 2007
Status: Offline
Points: 5
Post Options Post Options   Thanks (0) Thanks(0)   Quote NanoSofT Quote  Post ReplyReply Direct Link To This Post Posted: 10 October 2007 at 2:29am
thanks sserge for your help

and i think for the whole caption
i meant each column header has its own back color ... is that possible ?
Back to Top
sserge View Drop Down
Moderator Group
Moderator Group


Joined: 01 December 2004
Status: Offline
Points: 1297
Post Options Post Options   Thanks (0) Thanks(0)   Quote sserge Quote  Post ReplyReply Direct Link To This Post Posted: 14 October 2007 at 4:38pm
No, this is possible only for the whole caption.

--
WBR,
Serge
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.156 seconds.