Search found 214 matches

by mritter0
Tue May 30, 2017 11:37 pm
Forum: General Developer Support
Topic: Check if device is active
Replies: 3
Views: 3777

Re: Check if device is active

You are correct, sir. Thank you.
by mritter0
Mon May 29, 2017 8:03 pm
Forum: General Developer Support
Topic: Check if device is active
Replies: 3
Views: 3777

Check if device is active

I am having no luck at scanning the device list and skipping the ones that are not fully mounted yet (Activate=0; in mountlist and not accessed yet). All the functions I have been using activates it when it should be skipping it. How do I skip them? if ((ADOList=IDOS->AllocDosObjectTags(DOS_VOLUMELI...
by mritter0
Wed May 24, 2017 9:53 pm
Forum: General Developer Support
Topic: ClickTab close button
Replies: 1
Views: 2046

ClickTab close button

I have noticed this for a long time, someone else just brought it up, so I will post about it. The clicktab.gadget close button image is not accurate. I first was using smaller 9x9 images, then switched to 16x16 images (list_cancel from AISS). The right most 3 or 4 pixels are not clickable. You have...
by mritter0
Sun May 14, 2017 9:42 pm
Forum: General Developer Support
Topic: Play FLAC songs with Datatypes
Replies: 2
Views: 2678

Re: Play FLAC songs with Datatypes

I got up in the middle of the night. Added in DTA_SourceType,DTST_FILE, it works now. Must need that little extra kick.
by mritter0
Sun May 14, 2017 3:45 am
Forum: General Developer Support
Topic: Play FLAC songs with Datatypes
Replies: 2
Views: 2678

Play FLAC songs with Datatypes

I am adding support to play FLAC song files in my project. I use this code to play MP3s, but it will not play FLACs if ((SoundObject=IDataTypes->NewDTObject(SoundPath, DTA_GroupID, GID_SOUND, TAG_END))) { PreviewSoundSignal=IExec->AllocSignal(-1); IDataTypes->SetDTAttrs(SoundObject,MainWindow,NULL, ...
by mritter0
Fri May 12, 2017 5:03 pm
Forum: General Developer Support
Topic: Skip DEFER'd assigns
Replies: 3
Views: 4151

Re: Skip DEFER'd assigns

That worked! Thank you!

Just for some clarification, should I be treating DLT_NONBINDING the same as DLT_LATE? Not show it in the list of assigns? And I will have to check for v54 of dos.library before checking for this, of course. Even though I am on v53.158 and it did not error.
by mritter0
Thu May 11, 2017 11:40 pm
Forum: General Developer Support
Topic: Skip DEFER'd assigns
Replies: 3
Views: 4151

Skip DEFER'd assigns

In my project, Workbench Explorer, it scans for all the assigns. It was brought to my attention that it does not "skip over" DEFER'd assigns; it "activates" them during the scanning process. I don't see any way around this. Is there some other way to scan for the assigns? I am us...
by mritter0
Sun Jan 15, 2017 10:01 pm
Forum: General Developer Support
Topic: menuclass not as dynamic as suggested
Replies: 4
Views: 2172

Re: menuclass not as dynamic as suggested

This is how I do it, no extra refresh needed: BOOL SAK_AddMenuItem(Object *MenuObj,uint32 Parent,Object *AddItem) { Object *item; if ((item=(Object *)IIntuition->IDoMethod(MenuObj,MM_FINDID,0,Parent))) { IIntuition->SetAttrs(item, MA_AddChild, AddItem, TAG_END); return(TRUE); } return(FALSE); } VOID...
by mritter0
Sun Jan 15, 2017 9:53 pm
Forum: AmigaOS Feature Requests
Topic: XXX_SoftStyle for all gadgets
Replies: 1
Views: 3386

XXX_SoftStyle for all gadgets

Why is there not the option to set the SoftStyle for ALL gadget types? I want to set the style for CheckBoxClass buttons: LAYOUT_AddChild, ChildObjects[GAD_APPEARANCE_DEVICES_BOLD]=IIntuition->NewObject(CheckBoxClass,NULL, GA_ID, GAD_APPEARANCE_DEVICES_BOLD, GA_Underscore, ~0, GA_RelVerify, TRUE, GA...
by mritter0
Sat Dec 31, 2016 4:13 am
Forum: Platform: AmigaOne X5000
Topic: Can't write ANY files to partition
Replies: 5
Views: 4574

Re: Can't write ANY files to partition

That's what I did. Fortunately it was hardly full and I bought a backup SSD and SATA card just for this reason.

I did a quick format. Good enough or do a full format? Quick format got me working again.