User Tag List

Page 2 of 2 FirstFirst 1 2
Results 11 to 16 of 16

Thread: Extension Questions

  1. #11
    No Products Registered

    Join Date
    Jun 2006
    Posts
    220
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Extension Questions

    Thanks for the help guys - although I've been using C++ for a year, I've never used VC++ so its a whole new environment to me..

    The documentation is starting to make a lot more sense now also - if I have any more questions then I'll post them here. Thanks!

  2. #12
    No Products Registered

    Join Date
    Jun 2006
    Posts
    220
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Extension Questions

    // The definition of the property tree.
    PropData Properties[] = {

    PropData_Group (PROPID_TEXTTITLE, IDS_PROP_TEXTTITLE, IDS_PROP_TEXTTITLE),
    PropData_EditString (PROPID_TEXT, IDS_PROP_TEXT, IDS_PROP_TEXT_INFO),
    PropData_CheckBox (PROPID_CHECK, IDS_PROP_CHECK, IDS_PROP_CHECK_INFO),
    PropData_ComboBox (PROPID_COMBO, IDS_PROP_COMBO, IDS_PROP_COMBO, ComboList),
    PropData_Color (PROPID_COLOR, IDS_PROP_COLOR, IDS_PROP_COLOR_INFO),
    PropData_End()

    };

    For the prop data properties, where do I define the IDS_PROP_COLOR strings .etc? I've tried doing them in different places but just get random errors.

    EDIT: Nevermind, found that you have to define them in resource.r file ^^

  3. #13
    Forum Moderator Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF Export ModuleXNA Export Module
    Sphax's Avatar
    Join Date
    Jun 2006
    Location
    Paris, France
    Posts
    4,454
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Extension Questions

    res.rc yes <img src="/center/images/graemlins/wink.gif" alt="" />

    When you add a menu in "Actions", "Expressions" or "Conditions", do not forget to edit "Ressources.h" and change the ID number of all new items added. <img src="/center/images/graemlins/wink.gif" alt="" />

  4. #14
    No Products Registered

    Join Date
    Jun 2006
    Posts
    220
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Extension Questions

    I'm having a few problems with the properties area now.
    I've managed to give my extension two properties, one called Text and one called Value.

    enum {

    PROPID_SETTINGS = PROPID_EXTITEM_CUSTOM_FIRST,
    PROPID_TEXT,
    PROPID_VALUE,

    };

    And then I've done the following:

    PropData Properties[] = {

    PropData_EditString (PROPID_TEXT, IDS_PROP_TEXT, IDS_PROP_TEXTINFO),
    PropData_EditFloat (PROPID_VALUE, IDS_PROP_VALUE, IDS_PROP_VALUEINFO),
    PropData_End()

    };

    It all works fine, however when I get to step 3 of the documentation, I start to get a bit confused.. It's the GetPropValue section which I can't seem to get right.

    // Returns a string.
    case PROPID_TEXT:
    return new CPropDataValue(????);

    I don't understand what to put in the CPropDataValue(); part..

  5. #15
    No Products Registered

    Join Date
    Jun 2006
    Posts
    220
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Extension Questions

    Help please <img src="/center/images/graemlins/frown.gif" alt="" />

  6. #16
    No Products Registered

    Join Date
    Jun 2006
    Posts
    150
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Extension Questions

    Code:
    return new CPropDataValue(edPtr-&gt;YourStoredText);
    should do it

Page 2 of 2 FirstFirst 1 2

Similar Threads

  1. Screen scaling extension questions
    By UltimateWalrus in forum Extension Development
    Replies: 7
    Last Post: 9th June 2014, 04:27 PM
  2. MMF2 Extension Request : OE-Cake Fluid extension
    By pyromane in forum Extension Development
    Replies: 5
    Last Post: 1st July 2013, 03:51 AM
  3. Email Extension and a couple questions
    By Kracker in forum Android Export Module Version 2.0
    Replies: 0
    Last Post: 3rd August 2012, 12:54 PM
  4. A few questions about the XNA extension
    By vittix in forum XNA Export Module Version 2.0
    Replies: 3
    Last Post: 14th June 2012, 09:58 AM
  5. Phizix Extension Questions -- Several and Random
    By Sedition in forum Multimedia Fusion 2 - Technical Support
    Replies: 16
    Last Post: 17th November 2009, 06:10 PM

Posting Permissions

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