1. #1

    Assistance with New Button in Sidebar

    Greetings everyone,
    I'm having trouble adding a new button to the Sidebar.
    After working myself through Jeff's Tutorial , I can't add a Button via DesktopManager.registerDockShortcut2, it keeps throwing a LUA error on startup within the extension.

    It's a quite simplistic Extension (yet) and I am quite despaired that even the first hurdle seems to be so unmountable to me.

    Could someone please take the time, check the attached extension and enlighten me?

    EDIT: Typo from hell

    EDIT: Nevermind, got it... comments are not always your friends
    Attached Files Attached Files
    Last edited by Urimidos; September 24th, 2019 at 10:19.

  2. #2
    damned's Avatar
    Join Date
    Mar 2011
    Location
    Australia
    Posts
    18,926
    Blog Entries
    1
    welcome Urimidos

    Have a look here - https://www.youtube.com/watch?v=c9Ry...fTPUA&index=10
    You are missing some windowclass info

    MoreCore - Generic Ruleset
    --- Projects ---
    Extensions | Tutorials | MoreCore | MoreCore Themes | Call of Cthulhu | Maelstrom | FG Con

  3. #3
    An answer from the famous damned himself, thank you very much. You're a real legend, MoreCore truly is a piece of art, mate.

    I'll take a look at the video as soon as possible and hopefully it will dispel some of my other struggles...
    e.g. why the he** I can't find the definition for the windowclass "mc_locationslist" (NOT "mclocationslist") which is used in registerDockShortcut2.
    Right now, I guess all these list windows (Items Locations, Organisations,...) are built dynamically somewhere I can't find yet.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

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

Log in

Log in