Page 1 of 1

Change/render docky image when I want

Posted: Thu Oct 24, 2013 7:24 pm
by javierdlr
Hi, is there some way of changing the program docky image, but only when I want (not every X frames using DOCKYGET_FrameDelay).
What I need is, after opening/closeing a window to change the image of my docky, now I have:

Code: Select all

  case DOCKYGET_FrameDelay:
   *msgData = 24;
  break;
that changes image every half second (even if not necessary), but will be nicer if "FrameDelay = 0" and then I send/say to AmiDock when change the docky image (aka "at will").


TIA

Re: Change/render docky image when I want

Posted: Thu Oct 24, 2013 9:49 pm
by salass00
Check the autodoc documentation (SDK:Documentation/AutoDocs/docky.doc) on DOCKYSET_DockyAttention and DOCKYGET_NeedsAttention. If you don't want periodic processing just return -1 for DOCKYGET_FrameDelay (this is also in the autodoc).

Re: Change/render docky image when I want

Posted: Mon Nov 04, 2013 9:03 pm
by javierdlr
salass00 wrote:Check the autodoc documentation (SDK:Documentation/AutoDocs/docky.doc) on DOCKYSET_DockyAttention and DOCKYGET_NeedsAttention. If you don't want periodic processing just return -1 for DOCKYGET_FrameDelay (this is also in the autodoc).
Sorry for delay, solved with 'DOCKY..Attention', now it renders image when I want.

THX A LOT