i am pretty sure there is an example on planet-source-code.com by a person called Chad J. who made colorful menus on-the-fly. You can modify the code he has to make it build menus when the program loads and call it up when a person right clicks. Just to let you know the code has some restrictions like you have to click the X button on the window to exit (Putting an 'End' function anywhere else will crash the app).
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.