Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Property Grid
  New Posts New Posts RSS Feed - CaptionMetrics.BackColor - always black?
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

CaptionMetrics.BackColor - always black?

 Post Reply Post Reply
Author
Message
TimStowe View Drop Down
Newbie
Newbie
Avatar

Joined: 03 November 2005
Status: Offline
Points: 18
Post Options Post Options   Thanks (0) Thanks(0)   Quote TimStowe Quote  Post ReplyReply Direct Link To This Post Topic: CaptionMetrics.BackColor - always black?
    Posted: 03 November 2005 at 1:36pm
Using xpg with VB6, if I try to set the CaptionMetrics.BackColor property of a Property Grid Item to a windows system color (e.g. vbButtonFace), it always displays as black, regardless of the value used.  The basic color constants (e.g. vbRed) seem to work fine. 

Any thoughts?

Regards,

-Tim
Back to Top
Oleg View Drop Down
Admin Group
Admin Group


Joined: 21 May 2003
Location: United States
Status: Offline
Points: 11234
Post Options Post Options   Thanks (0) Thanks(0)   Quote Oleg Quote  Post ReplyReply Direct Link To This Post Posted: 04 November 2005 at 12:31am

Hello,

Here workaround

Item.CaptionMetrics.BackColor = XtremePropertyGrid.ColorManager(STDCOLOR_BTNFACE)

Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
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.