Search found 46 matches

by OldFart
Wed Dec 09, 2015 5:24 pm
Forum: AmigaOS Feature Requests
Topic: An extension to AllocVecTagsList
Replies: 3
Views: 4816

An extension to AllocVecTagsList

Would it be possible and viable to add a tag to the existing AVT_-range of tags, one for allocating memory from a pool. Suggested name: AVT_MemPool, whereby its ti_Data should contain the value returned by the AllocSysObject(ASOT_MEMPOOL, TAG_END) call. This provides some of the features of AllocVec...
by OldFart
Mon Dec 07, 2015 11:30 pm
Forum: General AmigaOS
Topic: Troubles in Commodity-land
Replies: 65
Views: 32304

Re: Troubles in Commodity-land

@xenic That's good because it looks like my observations were incorrect We both learned a bit today, that's the upside. However, I'm still looking for a way to intercept mouseclicks. A filterpattern of "rawmouse mouse_leftpress" does not cut any cake, although it is accepted as a 'proper' pattern. I...
by OldFart
Mon Dec 07, 2015 9:09 pm
Forum: General AmigaOS
Topic: Troubles in Commodity-land
Replies: 65
Views: 32304

Re: Troubles in Commodity-land

@broadblues The code got a bit garbled and cluttered while it reached this forum. I had the intention to have the asterisks (*) of the variables line-up in one and the same column. I hope this is better: CxObj *filter = CxFilter(CX_FILTERPATTERN), *sender, *translate; Would you say: int a = 1,b,c; w...
by OldFart
Mon Dec 07, 2015 8:30 pm
Forum: General AmigaOS
Topic: Troubles in Commodity-land
Replies: 65
Views: 32304

Re: Troubles in Commodity-land

@xenic CxObj *filter = CxFilter(CX_FILTERPATTERN), *sender, *translate; This could be rewritten by and have the same meaning: CxObj *filter, *sender, *translate; filter = CxFilter(CX_FILTERPATTERN); In the first instance 'filter' is being initialised when declared, quite a common practice. Initialis...
by OldFart
Mon Dec 07, 2015 1:34 pm
Forum: General AmigaOS
Topic: Troubles in Commodity-land
Replies: 65
Views: 32304

Re: Troubles in Commodity-land

@trixie No, i don't mind the revised HotKey-example to be included in the wiki. Here's the (rather lengthy) list of possible combinations of keywords and qualifiers: Possible combinations of keywords and qualifiers: KeyWord(s): DiskInserted DiskRemoved Event NewPointerPos NewPrefs PointerPos Timer T...
by OldFart
Mon Dec 07, 2015 12:03 pm
Forum: General AmigaOS
Topic: Troubles in Commodity-land
Replies: 65
Views: 32304

Re: Troubles in Commodity-land

@trixie After a few days of absence, I discovered this thread to have grown a few pages with quite some interesting remarks and suggestions. In the meantime for my further investigation and comprehension of the matter, I took the HotKey.c example from the wiki, made it suitable for OS4 and used it a...
by OldFart
Fri Dec 04, 2015 7:43 pm
Forum: General AmigaOS
Topic: Troubles in Commodity-land
Replies: 65
Views: 32304

Re: Troubles in Commodity-land

@xenic & trixie (in no particular order)

Please enjoy your bickering outside; I can't stand noses bleeding all over my thread... ;-)

OldFart
by OldFart
Fri Dec 04, 2015 5:23 pm
Forum: General AmigaOS
Topic: Troubles in Commodity-land
Replies: 65
Views: 32304

Re: Troubles in Commodity-land

@salass00: To eat an event you just attach a CxTranslate(NULL) to your filter object. Information like this is sorely lacking from the wiki. On a related note: if I want to intercept both lefthand mouse button AND righthand mousebutton events, do I then need to specify 2 CxFilters as well as 2 CxSen...
by OldFart
Wed Dec 02, 2015 8:08 pm
Forum: General AmigaOS
Topic: Troubles in Commodity-land
Replies: 65
Views: 32304

Re: Troubles in Commodity-land

@xenic You're the man, xenic! The documentation about CxFilters is wrong with this one issue. Now I still am curious about the "relativemouse" keyword. With which should that have to be replaced? Btw, here's the results of the addition of the correct keywords: Error : 4 -- rawmouse leftbutton Error ...
by OldFart
Tue Dec 01, 2015 5:36 pm
Forum: General AmigaOS
Topic: Troubles in Commodity-land
Replies: 65
Views: 32304

Re: Troubles in Commodity-land

@xavier

For sake of simplicity -lauto was used when compiling.
And yes, I did look at that page. But still.

OldFart