ATTENTIONThis FlexSim Community Forum is read-only. Please post any new questions, ideas, or discussions to our new community (we call it Answers) at https://answers.flexsim.com/. Our new Question & Answer site brings a modern, mobile-friendly interface and more focus on getting answers quickly. There are a few differences between how our new Q&A community works vs. a classic, threaded-conversation-style forum like the one below, so be sure to read our Answers Best Practices. |
flexsim.com |
#1
|
||||
|
||||
Use of menumain and menubelow in DLL
I was trying to use menumain and menubelow in the DLL. I found out that the Flexsimfuncs have to be adapted becuase the return value should be HMENU and not double. But before I commit those changes I wanted it work and I can't get it to work. If I copy the same line in the script window it will work.
For instance: menugray( menubelow( menumain(), 9),1, 0); should gray out the Users Manual option in the helpmenu Is this a bug? Steven |