Article View: comp.sys.amiga.tech
Article #9034Re: DiskObject
From: Dave Oh
Date: Wed, 15 Jun 1988 02:00
Date: Wed, 15 Jun 1988 02:00
19 lines
1415 bytes
1415 bytes
In article <6201@well.UUCP> ewhac@well.UUCP (Leo 'Bols Ewhac' Schwab) writes: >: CopyMem(&gdisk->do_Gadget.GadgetRender,&Img,(LONG)sizeof(struct Image)); >: ^ > BZZT! You are taking the address of the GadgetRender pointer, not >the pointer itself (which is what you want). Delete the '&' and you >*should* be fine. > > I should have seen this the first time.... You're Right... And you have to get rid of the & in front for Img struct. I don't know how I couldn't see that. (OK. No more Pink Floyd while I program :-) Thanx. PS: Now how can I display this gadget. I tried everything and It still won't display. I AddGadget() it to my Backdrop window and then RefreshGadget() with no success. I checked the TopEdge and LeftEdge attributes and they are within the limits of hte window. What now, eh? :::> Dave debate2@watdcsu.waterloo.edu
Technical Details
Message-ID:
<4799@watdcsu.waterloo.edu>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!water!watmath!watdcsu!debate2References:
<4725@watdcsu.waterloo.edu> <54486@sun.uucp> <4751@watdcsu.waterloo.edu> <2135@ur-tut.UUCP> <6148@well.UUCP> <4773@watdcsu.waterloo.edu> <6201@well.UUCP>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!water!watmath!watdcsu!debate2 From: debate2@watdcsu.waterloo.edu (Dave Oh) Newsgroups: comp.sys.amiga.tech,comp.sys.amiga Subject: Re: DiskObject Message-ID: <4799@watdcsu.waterloo.edu> Date: 15 Jun 88 02:00:14 GMT References: <4725@watdcsu.waterloo.edu> <54486@sun.uucp> <4751@watdcsu.waterloo.edu> <2135@ur-tut.UUCP> <6148@well.UUCP> <4773@watdcsu.waterloo.edu> <6201@well.UUCP> Reply-To: debate2@watdcsu.waterloo.edu (Dave Oh) Distribution: na Organization: U. of Waterloo, Ontario Lines: 19