Jump to content
LaunchBox Community Forums

Recommended Posts

Posted

How does one create a new menu in BigBox from the options screen? Has anyone released any project/code that could help me learn this? I have figured out how to make a new option item and have that item execute code but not how to load a sub menu from said item.

Posted

I've not yet done anything like this. The plugin api lets you add a menu item to the System or Game text menu, but I do not see where it let's you add to the Options menu. Anyway, in the OnSelected method of ISystemMenuItemPlugin, for example, could you have it unhide a panel in the current view? -- the problem is that ISystemMenuItemPlugin is not associated with a particular view, so it would not have a reference to that panel, so that approach might not work.

I wrote a IGameMenuItemPlugin to display the PDF manual within BB. What it does is popup a window. Perhaps you could have your menu item do something similar -- pop up a window that would let the user interact with your control. It'd be nicer if it could integrate in BB more without having to popup a window, but I'm not sure how to do that.

  • 1 year later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
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.

×
×
  • Create New...