CodeWalrus

General => General Help & Troubleshooting => Topic started by: PT_ on July 12, 2016, 05:32:37 AM

Title: Change OS menu
Post by: PT_ on July 12, 2016, 05:32:37 AM
Yo guys! While I was working a bit around with hooks and menu's, I was trying to change a menu completely. Let's say I want to add a submenu at EDIT->PRGM. What is the best way to do that? I can either make my own one, chopping off the standard menu, but the submenu COLORS would be very hard to replicate.
(https://i.imgur.com/1bHB3tj.png)
Another way is to increment the amount of submenu's when the hook is for the first time called (a=04h), but then the text will show up incorrectly, as it has an extra submenu.
(https://i.imgur.com/p8Qxsux.png)
My latest thought was, before drawing the first option, display the extra submenu, and increment the amount of submenu's, but I haven't tried it. Any thoughts? Thanks in advance!
Title: Re: Change OS menu
Post by: PT_ on July 14, 2016, 05:30:23 AM
*bump* anyone? :)
Title: Re: Change OS menu
Post by: Snektron on July 14, 2016, 09:04:57 AM
Would it also be possible to make a standalone editor? If you're willing to rewrite the default menu anyway