Search found 102 matches

by gazelle
Thu Dec 03, 2015 11:32 pm
Forum: General Developer Support
Topic: How to detect when an icon is dragging over a window
Replies: 17
Views: 17604

Re: How to detect when an icon is dragging over a window

Is somebody know if it's the way to know how to grab if an icon is overing a window ? Your hook will be called when the icon is over your dropzone with adzm->adzm_Action = ADZMACTION_Enter Now you know the icon is over your dopzone (you may set a global var in the hook function). When the icon is d...
by gazelle
Thu Dec 03, 2015 10:21 pm
Forum: General Developer Support
Topic: How to detect when an icon is dragging over a window
Replies: 17
Views: 17604

Re: How to detect when an icon is dragging over a window

Shouldn't that:

Code: Select all

WBDZA_Hook, appDropZone_hook,
be that:

Code: Select all

WBDZA_Hook, appDropZoneHook,
other than that, I can't be of help.
by gazelle
Tue Nov 17, 2015 6:17 pm
Forum: Platform: AmigaOne X1000
Topic: CFE debug settings
Replies: 12
Views: 16423

Re: CFE debug settings

xenic wrote:
Raziel wrote: I want a real "Contents" page, sorted by Alphabet, just like in the back of a DIY book.
It's called an 'index' and I'd like to see the WIKI indexed too but I can't think of any simple way it could be done.
How about All pages
by gazelle
Fri Sep 18, 2015 10:14 am
Forum: AmigaOS Feature Requests
Topic: USB In/Out sound
Replies: 4
Views: 4764

Re: USB In/Out sound

Because the fact you inserted the usb stick isn't enough of a clue that you inserted a usb stick? It's more like to get a visual/audio feedback that the OS did register that you inserted the USB stick. edit: Seems like xenic got inspired http://os4depot.net/?function=showfile&file=utility/misc/...
by gazelle
Sun Sep 13, 2015 4:35 pm
Forum: General Developer Support
Topic: Intuition Menu Class
Replies: 25
Views: 17142

Re: Intuition Menu Class

I would like to point out that I would never have figured out how to use the new menu class without reading the AmigaOS documentation WIKI. I think the SDK should include a text or PDF version of the current developer WIKI with a warning that the online version may be more up-to-date. Some of us wo...
by gazelle
Fri Sep 11, 2015 8:36 am
Forum: General Developer Support
Topic: Intuition Menu Class
Replies: 25
Views: 17142

Re: Intuition Menu Class

There is an example source of the new menu class in "SDK:Examples/GUI/MenuClass" which also uses the MA_Hidden tag.

I didn't try it out myself but maybe you'll see something.
by gazelle
Thu Sep 10, 2015 11:01 pm
Forum: General Developer Support
Topic: Intuition Menu Class
Replies: 25
Views: 17142

Re: Intuition Menu Class

item= (struct mpFindID *) IIntuition->IDoMethod(MenuStripObj,MM_FINDID,0,MEN_GO_BACK); not item= (Object *) IIntuition->IDoMethod(MenuStripObj,MM_FINDID,0,MEN_GO_BACK); That looks wrong, more like: Object *MenuStripObj, *item; item=(Object *)IIntuition->IDoMethod(MenuStripObj,MM_FINDID,0,MEN_HELP_M...
by gazelle
Wed Aug 26, 2015 9:36 am
Forum: General Developer Support
Topic: Serious low memory handler bug (Solved)
Replies: 16
Views: 8492

Re: Serious low memory handler bug (freeze)

I did take a look at the original code and think the problem was a combination of poor documentation (os side) and missunderstanding (developer side). The developer was aware that calling the handler a second time (for the same allocation) doesn't do any good and included the check for the MEMHF_REC...
by gazelle
Tue Aug 25, 2015 6:34 pm
Forum: General Developer Support
Topic: Serious low memory handler bug (Solved)
Replies: 16
Views: 8492

Re: Serious low memory handler bug (freeze)

@xenic: I don't think you wasted your time. You found a bug and reported it. After reading about it, it's just my opinion that the bug is in the low memory handler which solely rely on the MEMHF_RECYCLE flag. Why this flag was removed I don't know. How to solve this for old software, which rely sole...
by gazelle
Tue Aug 25, 2015 11:15 am
Forum: General Developer Support
Topic: Serious low memory handler bug (Solved)
Replies: 16
Views: 8492

Re: Serious low memory handler bug (freeze)

The handler is called with the MEMHF_RECYCLE flag cleared. The handler checks for the MEMHF_RECYCLE flag, releases memory if it's not set and returns MEM_TRY_AGAIN. Exec trys the allocation again and the handler get called with the MEMHF_RECYCLE flag set. The handler check the MEMHF_RECYCLE flag an...