# Custom PromptUserInput menus

**URL:** <https://iplug2.discourse.group/t/custom-promptuserinput-menus/399>\
**Category:** Windows\
**Created:** [25 May 2021 18:36 UTC](https://iplug2.discourse.group/t/custom-promptuserinput-menus/399 "2021-05-25T18:36:31Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![snfk](https://yyz2.discourse-cdn.com/free1/user_avatar/iplug2.discourse.group/snfk/32/140_2.png) [@snfk](https://iplug2.discourse.group/u/snfk)\
**Post date:** [25 May 2021 18:36 UTC](https://iplug2.discourse.group/t/custom-promptuserinput-menus/399/1 "2021-05-25T18:36:31Z")

</div>

I’m in the process of working with some UI stuff and was wondering how to create a custom popup menu that is not bound to a parameter. I’ve looked through the source code a few times and haven’t been able to find anything that’s not linked to a parameter. What would be the best way to do this?

And a bonus question, it would be really nice to create submenus in the main menu options and so on.

Thanks!

---

<div class="post-metadata">

**Author:** ![Kay](https://yyz2.discourse-cdn.com/free1/user_avatar/iplug2.discourse.group/kay/32/8_2.png) [@Kay](https://iplug2.discourse.group/u/Kay)\
**Post date:** [25 May 2021 19:39 UTC](https://iplug2.discourse.group/t/custom-promptuserinput-menus/399/2 "2021-05-25T19:39:29Z")

</div>

Have a look at the IPlugControls example to see how to create a menu.  
It doesn‘t have to be bound to a parameter.  
You can create submenues by adding an IPopupMenu instead of an item. There‘s a AddItem() overload for that.
