![]() |
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)
Quote Reply
Topic: Read COLORREF values from XML file.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: 1210 |
Post Options
Thanks(0)
Quote Reply
Posted: 15 May 2008 at 3:36pm |
|
Hi; You can try COLORREF color; otherwise take a look at PX_Color() function defined in afxctl.h. |
|
|
Martin Product: Xtreme Toolkit v 22.1.0, new Projects v 24.0.0 Platform: Windows 10 v 22H2 (64bit) Language: VC++ 2022 |
|
![]() |
|
Oleg
Senior Member
Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
Quote Reply
Posted: 16 May 2008 at 1:19am |
|
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)
Quote Reply
Posted: 16 May 2008 at 4:41am |
|
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 |