• Order of the Butterfly
    Order of the Butterfly
    igracki
    Posts: 389 from 2003/2/25
    From: Berlin
    Quote:

    jacadcaps wrote:
    Quote:

    igracki wrote:
    And how can I trigger a MUIM_CleanUp/MUIM_SetUp?



    You shouldn't do that, really. MUIM_Cleanup/Setup will be called on your sbar whenever its settings change.



    Hmm, here I don't get MUIM_Cleanup/Setup calls after I change some settings and press "Use" or "Save"!?

    I would need this to renew the update-interval in the MUIM_App_InputHandler.
    Or should I do MUIM_App_RemInputHandler/AddInputHandler in MUIM_UpdateConfig?
    This would be IMHO to much "overhead", it would be better I do this only after the user pressed "Use" or "Save".

    Quote:

    jacadcaps wrote:
    Please do not use networking on the intuition ScreenManager thread. This will lead to your pluggin getting blacklisted. I will make sure bsdsocket.library cannot be opened from that process with the next MorphOS release so better fix your sbar. There is an easy to use MUIM_Slave class which you should use for that purpose.


    Ok, I'm now using MUIC_Slave to download the weather data in an own thread.
    Works quite good and was very easy! Thanks for this class!

    BTW: The new version is now online!
  • »17.03.14 - 22:50
    Profile Visit Website