Search found 214 matches

by mritter0
Sun Jul 02, 2017 6:23 pm
Forum: General Developer Support
Topic: LAYOUT_BackFill
Replies: 5
Views: 6157

Re: LAYOUT_BackFill

That worked. Thanks.

But seeing your code gave me an idea that made things easier for what I am trying to do.

BTW, why are you using VARARGS68K for your hook?
by mritter0
Sun Jul 02, 2017 5:27 pm
Forum: SDK Support
Topic: SDK 2017 wishes
Replies: 11
Views: 14382

Re: SDK 2017 wishes

The complete source code to button.gadget so we can start to build our own classes. Make file, docs, the works.
by mritter0
Sat Jul 01, 2017 3:41 pm
Forum: General Developer Support
Topic: LAYOUT_BackFill
Replies: 5
Views: 6157

Re: LAYOUT_BackFill

I don't want all the groups to use the backfill, just 1. I am looking for the hook source code on how to fill it with a solid color.
by mritter0
Sat Jul 01, 2017 3:36 am
Forum: General Developer Support
Topic: LAYOUT_BackFill
Replies: 5
Views: 6157

LAYOUT_BackFill

LAYOUT_BackFill (struct Hook *) A layer backfill hook to use in the group to provide a more complex background pattern. This is not propagated to the group's children; use LAYOUT_LayoutBackFill for that. Pass ~0L to have the group use the window.class backfill. Defaults to use the window.class back...
by mritter0
Tue Jun 06, 2017 11:06 pm
Forum: General Developer Support
Topic: MakeLink() HARD
Replies: 10
Views: 7362

Re: MakeLink() HARD

I figured out my mistake. I had all the code correct, but I was testing it in RAM: for ease. I totally forgot it has to be on a NGFS system. It works as it should on my Workbench partition. Stays as a link with each scan.

X5000 dos.library 53.158

Thanks for your patience.
by mritter0
Mon Jun 05, 2017 9:44 pm
Forum: General Developer Support
Topic: MakeLink() HARD
Replies: 10
Views: 7362

Re: MakeLink() HARD

Got it all figured out. Thanks Colin! Just so I am clear: the first time I scan a drawer and find a hard link, it shows up as a hard link. The next time it shows not as a link, but as the actual destination item (file or drawer). Is that the correct behavior? So it looks seemless? It opens the corre...
by mritter0
Sun Jun 04, 2017 7:23 pm
Forum: General Developer Support
Topic: MakeLink() HARD
Replies: 10
Views: 7362

Re: MakeLink() HARD

Colinw,

Yes, the system can make hard links. But it looks like it can't identify them yet?
by mritter0
Sun Jun 04, 2017 4:32 pm
Forum: General Developer Support
Topic: MakeLink() HARD
Replies: 10
Views: 7362

Re: MakeLink() HARD

After seeing Javier's results, and more testing, my code is working. But confused by the results. RAM:hard -> RAM:T/WEx_Ver is my test. Make hard link in program. Quit. In shell, list ram:. Link is correct. Open my program, link does not show as hard link, just as the file it points to. (Soft links ...
by mritter0
Sun Jun 04, 2017 1:08 am
Forum: General Developer Support
Topic: AslRequester Enter and Escape keys
Replies: 0
Views: 2416

AslRequester Enter and Escape keys

In my project I open sub-windows that respond to Enter (OK button, close window) and Esc (Cancel button, close window). Some of them open Asl file requesters. What I noticed is that if you type in a filename and hit Enter, it for some reason is also passed on to my window and it also receives an Ent...
by mritter0
Sat Jun 03, 2017 8:12 pm
Forum: General Developer Support
Topic: MakeLink() HARD
Replies: 10
Views: 7362

MakeLink() HARD

I am trying to use IDOS->MakeLink(). No problem with soft, but hard is giving me an issue: IDOS->MakeLink("RAM:test",(STRPTR)"RAM:T/WEx_Ver",LINK_SOFT) works fine. For hard links: if ((MakeLinkLock=IDOS->Lock("RAM:T/WEx_Ver",ACCESS_READ))) { if (!IDOS->MakeLink("RA...