Jump to content
Software FX Community

fill whole chart window with legend box


User (Legacy)

Recommended Posts

I am trying to setup LegendBoxObj in PrePaint handler:

void __stdcall CGraph::OnPrePaintChart(short w, short h, long lPaint, short*

nRes)

{

m_pChartFX->LegendBoxObj->Top = 0;

m_pChartFX->LegendBoxObj->Left = 0;

m_pChartFX->LegendBoxObj->Width = w;

m_pChartFX->LegendBoxObj->Height = h;

*nRes = 0;

}

The rest of legend is set in Init, like

m_pChartFX->LegendBox = TRUE;

m_pChartFX->LegendBoxObj->Visible = TRUE;

m_pChartFX->LegendBoxObj->Docked = TGFP_FIXED;

It does not work at all.

"SoftwareFX Support" <support@softwarefx.com> wrote in message

news:JlrmjVqNDHA.2848@webserver1.softwarefx.com...

> The LegendBox object (LegengBoxObj) has Width and Height properties that

can

> be adjusted from your program.

>

> --

> FP

> Software FX, Inc.

>

>

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...