Jump to content
Software FX Community

Deleting some items from my background context menu


Doseerock

Recommended Posts

I found some codes in the online samples to delete some items form a context menu as follows:

chart1.Commands[(int)CommandID.ContextMenuBack].RemoveSubCommand(0);

However I can't find out how to change this code in VC++.

I guess I should write as below, but I have no idea which code I should put into ??????.

m_pChart->Commands->GetItems(?????)->RemoveSubCommand(0);

 

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...