Jump to content
Software FX Community

Re: Remove from pop-up menu


User (Legacy)
 Share

Recommended Posts

It is clear how to remove a command from the toolbar, ala

m_pChartFX->ToolBarObj->RemoveItems(2,0), but how do I remove a command from

the pop-up menu that appears when I right-click?

Thanks,

Ed Evans

Francisco Padron wrote in message ...

>You can not enable/disable predefined buttons as they are enabled/disabled

>automatically given the chart properties.

>

>Use AllowEdit to prevent the chart from being edited, remove the DataEditor

>command from the menus if you want to disable this option.

>

>--

>

>Frank

>SFX

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

>news:3WToCxgMAHA.2224@sfxserver.softwarefx.com...

>> Hi,

>>

>> I'm trying to turn off the Data Editor feature in ChartFX, but the

>following

>> line has no effect:

>> m_ChartFX->GetCommands()->GetItem( CFX_ID_DATAEDITOR )->Enabled = 0;

>>

>> What am I missing?

>>

>> Thanks,

>>

>> Ed Evans

>> eevans@pacsim.com

>>

>>

>>

>

>

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