Read COLORREF values from XML file. |
Post Reply |
Author | |
sheetal
Newbie Joined: 17 April 2008 Location: Netherlands Status: Offline Points: 14 |
Post Options
Thanks(0)
Posted: 15 May 2008 at 10:54am |
I have defined layout in XML file and i ma reading some values using
ExchangeProp(LPCTSTR pszPropName, VARTYPE vtProp, void* pvProp, const void* pvDefault = NULL); function. Though i am able to read CString and bool values using this. Can I read COLORREF values (RGB) using this? Sheetal |
|
mgampi
Senior Member Joined: 14 July 2003 Status: Offline Points: 1198 |
Post Options
Thanks(0)
|
Hi; You can try COLORREF color; otherwise take a look at PX_Color() function defined in afxctl.h. |
|
Martin
Product: Xtreme Toolkit v 19.0.0, new Projects v 19.1.0 Platform: Windows 10 v 1909 (64bit) Language: VC++ 2017 |
|
Oleg
Admin Group Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
|
Hi,
Don't use ExchangeProp, use PX_XXX instead:
PX_String, PX_DWord,PX_Rect etc.
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
sheetal
Newbie Joined: 17 April 2008 Location: Netherlands Status: Offline Points: 14 |
Post Options
Thanks(0)
|
Thanks mqampi and Oleg,
This has solve my Problem. Sheetal |
|
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 |