CompuServe Thread

#Reading Validations?

7 messages in this thread
#87956From: David OldisFeb 1, 1990 5:06 AM
Ello again… I just have 2 quick questions then I'll be out of your hair <smile>. 1). After a disk has been inserted and Validated by the system, how can I read the Volume? I tried using Info() but all the VolumeNode points to is a memory location looking like "5D5D5D5D5D5D5D5D5D". 2). What bits do I need to set so that my Gadgets only need to be pressed once, but STILL active as long as the left mouse button down? I'm trying to get it so that my screen can do a scroll while pressing a Gadget and I can't stand to keep pressing the Gadget down to make the screen scroll ONE AT A TIME. <sigh> Thanks David
#88012From: Steve AhlstromFeb 1, 1990 2:11 PM
David, No idea on your first question — the info is in the AmigaDOS Technical Reference Manual and in the Bantam AmigaDOS book. On your second question, set both the GADGIMMEDIATE and RELVERIFY flags on your gadget. Then on a Gadgetdown event, do a … case GADGETDOWN: { gad_id = GadAddress->GadgetID; switch (gad_id) { case GAD_RDUP: { do { whatever(); } while (GadAddress->Flags & SELECTED); break; } -sja
#88051From: Mike Spille/ManxFeb 1, 1990 8:46 PM
Hey, I thought this was "ASM Programming" 😎 -Mike
#88059From: Steve AhlstromFeb 1, 1990 9:37 PM
Oops! <grin>
#88131From: David OldisFeb 1, 1990 11:17 PM
Steve… Thanks…I'll give it a shot David
#88153From: David OldisFeb 2, 1990 12:38 AM
Hmmm… Could you put that in Assem for me? I don't know where exactly to look to see if it's Selected <sigh> David
#88158From: Steve AhlstromFeb 2, 1990 12:50 AM
Sorry, I don't do asm.