Jump to content
Developer Wiki and Function Reference Links ×

Disable Menu Item


Jack_1983

Recommended Posts

Hi all,

I'm stuck with a simple problem (or so I think), but I can't seem to find a solution.

By following the Sample projects which come with the SDK, I was able to set-up a menu chunk with 4 menu items in it.

Now I would like to disable a single item at runtime, but I can't understand how to achieve this. The menu plug-in I defined is practically the same as the one in the "VWUI Dialog Samples" project.

The SDK manual simply states that some particular events (by the way, the kMenuCheckHilite action is what I should check, I think) are dispatched by VW by calling the main plugin function (plugin_main) but this is not what is happening.

I also tried to override the OnDefaultEvent function of the Event Sink class, but that is simply never called.

Anyone of you can point me to the right direction?

Thanks in advance

Jack

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...