Jump to content
Software FX Community

Re: Getting, putting palette has no effect

User (Legacy)

Recommended Posts

I was able to reproduce it in the MFC example application that comes with

ChartFX 98.

In the "Palettes and Patterns" dialog, I modified the "Spring" palette radio

button click handler to be:

void CCfxPalPatt::OnSpring()


m_pChartFX->Palette = "Spring";

_bstr_t bstr = m_pChartFX->Palette;


Ideally I'd hope that bstr would get set to "Spring", but in this example,

it gets set to "", and empty string.

Percy Dyer wrote in message <5B$BUQdaAHA.2420@sfxserver.softwarefx.com>...


>I just tried ChartFX1->Palette = "aquamarine" with succeed, please download

>you last service pack at http://support.softwarefx.com/chartfx/ and try

>back. If the problem persist, I would need a maximum of 10 lines of code

>that could reproduce your problem. Thanks





>Percy Dyer

>Software FX, Inc. Tech Support





>"Edward Evans" <eevans@pacsim.com> wrote in message


>> I cannot set or retrieve the palette.

>> e.g. chart->Palette = "Aquamarine"; does not change the palette.

>> e.g. char* sz = chart->Palette; assigns 0xcccccccc to sz.


>> What do I need to do to get it to work?


>> Thanks,


>> Ed Evans






Link to comment
Share on other sites


This topic is now archived and is closed to further replies.

  • Create New...