Is there a way to eliminate the TaskMenu? I have tried a few options including:
1. Deleting the "menuset" from "generatedInitialize" from the takwindow.pro. This compiles but error is thrown at runtime.
2. changing the "generatedInitialize" menuset item to "nomenu". This compiles but error is thrown at runtime.
3. I have eliminated all meu items, but when compiled and run there remains TaskMenu item "Windows"
Any advice??
Thanks in advance
Dave
-
- VIP Member
- Posts: 1466
- Joined: 28 Feb 2000 0:01
Re: Eliminate Taskmenu
There is no apparent vpi way to deal with this. But you can do is more natively (the last line):
I should add that I have not investigated whether this has some drawbacks. The vpi code is quite insisting that the application must have a menu.
Code: Select all
predicates
onShow : window::showListener.
clauses
onShow(_, _CreationData) :-
_MessageForm = messageForm::display(This),
_ = gui_native::setMenu(vpiWindow, nullHandle).
Regards Thomas Linder Puls
PDC
PDC
-
- VIP Member
- Posts: 84
- Joined: 18 Jul 2006 17:18