Path: utzoo!utgpu!news-server.csri.toronto.edu!rutgers!usc!samsung!olivea!oliveb!isc-br!ewu!mpierce From: mpierce@ewu.UUCP (Mathew W. Pierce) Newsgroups: comp.sys.amiga.tech Subject: How to setup window border gadgets? Message-ID: <1374@ewu.UUCP> Date: 30 Dec 90 01:01:06 GMT Organization: Eastern Washington Univ. Cheney WA Lines: 22 Hi all, I am trying to put a boolean gadget into the top border of a window with no success. I have initialized a boolean gadget structure, made the associated image structure with all image data, and set the TOPBORDER and GRELRIGHT flags in the appropriate areas. The problem that I am having is that when I don't set the GZZGADGET flag, the image is drawn in the right place, just left of the front/back gadgets, but I can't activate the gadget (when I try, I get the drag bar). When I do set the GZZGADGET flag, the gadget is drawn somewhere in the middle of the screen. The gadget is not being drawn in a GIMMEZEROZERO window, so I am wondering if that is the problem. What am I doing wrong? The gadget is supposed to be a window shrink/ expand gadget like in WordPerfect. I want to put the gadget in a normal smart_refresh window. Any help would be greatly appreciated Thanks, Matt Pierce