Jump to content
Software FX Community

disable double click on a legendbox


User (Legacy)

Recommended Posts

I am using ChartFX OCX in a following fashion:

// Set ChartFx general properties

m_spChartFX->Chart3D = FALSE;

m_spChartFX->BorderStyle = BORDER_NONE;

m_spChartFX->Border = FALSE;

m_spChartFX->Gallery = PIE;

m_spChartFX->put_NSeries(1);

m_spChartFX->ContextMenus= FALSE;

m_spChartFX->AllowDrag = FALSE;

m_spChartFX->AllowResize = FALSE;

m_spChartFX->DblClk(CHART_NONECLK, 0);

m_spChartFX->RigClk(CHART_NONECLK, 0);

m_spChartFX->RightGap = 10;

m_spChartFX->LeftGap = 10;

m_spChartFX->TopGap = 5;

m_spChartFX->BottomGap = 5;

m_spChartFX->LegendBoxObj->BorderStyle = BBS_NONE;

m_spChartFX->LegendBox = TRUE;

m_spChartFX->LegendBoxObj->Docked = TGFP_FIXED;

m_spChartFX->LegendBoxObj->Top = 0;

m_spChartFX->LegendBoxObj->Left = 0;

m_spChartFX->LegendBoxObj->Width = 250;

m_spChartFX->LegendBoxObj->Height = 130;

m_spChartFX->LegendBoxObj->Sizeable = BAS_NORESIZE;

Problem: How to disable double click on legendbox, to prevent user to move

legendbox from it's fixed position.

David.

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...