Jump to content
Software FX Community

disable double click on a legendbox


User (Legacy)
 Share

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

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