|  | 
| CXTPColorManager has quit working! | 
| Post Reply   | 
| Author | |
| ddlittle   Senior Member   Joined: 19 February 2004 Location: United States Status: Offline Points: 132 |  Post Options  Thanks(0)  Quote  Reply  Topic: CXTPColorManager has quit working! Posted: 28 April 2004 at 5:35pm | 
| In my 8.61 code, I could rely on this code to retrieve the nice Office/2003 colors:  CXTPColorManager *pClrMgr = XTPColorManager(); I used that color in OnEraseBkgnd() to PatBlt the nice blue color behind the Property Grid embedded on a CFormView inside a pane. Now, the color that it returns is some shade of gray (It's really RGB(236,233,216), but close enough). Anybody know what might have happened? Do I need to init XTPColorManager somewhere? I tried RefreshColors(), but get the same things. Help! Thanks! - David Little 
 | |
|  | |
| Oleg   Senior Member   Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |  Post Options  Thanks(0)  Quote  Reply  Posted: 29 April 2004 at 9:53am | 
| to support multiple frames with different colors, colors moved to Paint Manager: XTPPaintManager()->GetXtremeColor(XPCOLOR_3DFACE); | |
| 
     Oleg, Support Team CODEJOCK SOFTWARE SOLUTIONS | |
|  | |
| ddlittle   Senior Member   Joined: 19 February 2004 Location: United States Status: Offline Points: 132 |  Post Options  Thanks(0)  Quote  Reply  Posted: 29 April 2004 at 10:39am | 
| 
   Thanks!  Works great....    | |
|  | |
| Post Reply   | |
| Tweet | 
| Forum Jump | Forum Permissions  You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |