home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.sys.amiga.programmer
- Path: sparky!uunet!haven.umd.edu!darwin.sura.net!welchgate.welch.jhu.edu!keithc
- From: keithc@welchgate.welch.jhu.edu (Keith Christopher)
- Subject: Re: PROBLEMS WITH GADTOOLS
- Message-ID: <1992Aug14.161041.25734@welchgate.welch.jhu.edu>
- Organization: Johns Hopkins Univ. Welch Medical Library
- References: <stephan.713593467@cwis>
- Date: Fri, 14 Aug 1992 16:10:41 GMT
- Lines: 36
-
-
- I've been using GadToolsBox for a while now and I haven't run into that problem.
- What ver are you using. 1.3 is the latest and you can get it from
-
- wuarchive.wustl.edu.
-
- I like the program alot. ckeck the window structure for syntax.
-
- Anyone > I setup a MsgPort routine that will refresh the window successfully.
- The problem however arises when I try to use IDCMP_CLOSEWINDOW. I can't
- to get the system to close. I am using a:
-
-
- while(1){
-
- WaitPort(Wind1->UserPort);
- while(messg=GT_GetIMsg(Wind1->UserPort)){
- Class=messg->Class;
- GT_ReplyIMsg(messg);
- switch(Class){
- case IDCMP_CLOSEWINDOW:
- SeeYa(); /* Just closes libaries,window and screen. */
- break;
- }
- }
- }
- exit(0);
- }
-
- As most can probably tell I'm new to Multitasking and ports/processes are
- strange to me. Anyhelp will be appreciated.
-
- Also> Thanks for taking the edge off of windows and Gadgets Jan van den Baard!
-
-
- keithc
-