Jump to content
Software FX Community

Re: Getting, putting palette has no effect


User (Legacy)
 Share

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>...

>Hi,

>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

>

>--

>Regards,

>

>Percy Dyer

>Software FX, Inc. Tech Support

>================================================

>

>

>

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

>news:YDvPIBUaAHA.1704@sfxserver.softwarefx.com...

>> 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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...