Results 1 to 3 of 3

Thread: (Perhaps) stupid Lua + menu's question

  1. #1
    Join Date
    May 2003
    Location
    Stockholm, Sweden
    Posts
    446

    Default (Perhaps) stupid Lua + menu's question

    Hi,

    If I use the win.GetMenu functions, and find myself the handle for a menu choice, how can I actually trigger it in LUA??

    Also, is there anyway to "find" the handle to a menu that pops up if I rightclick on a window?? I can't seem to find it with the normal win.GetMenu functions..

    Cheers,
    Jens

  2. #2
    Join Date
    Dec 2001
    Posts
    11,560

    Default

    Jens, I exported these functions for Marcel. He might know more about how they work. Let me know if I need to export anything else..

  3. #3
    Join Date
    Jan 2004
    Location
    The Netherlands
    Posts
    2,140

    Default

    The only example I've got is for Girder 3

    see the marcel v1.2.zip sample via the link in my sig and look at koploper.lua

    I use postmessage to trigger a menu item...

    Marcel

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •