home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #18 / NN_1992_18.iso / spool / comp / sys / amiga / programm / 12313 < prev    next >
Encoding:
Text File  |  1992-08-14  |  1.3 KB  |  47 lines

  1. Newsgroups: comp.sys.amiga.programmer
  2. Path: sparky!uunet!haven.umd.edu!darwin.sura.net!welchgate.welch.jhu.edu!keithc
  3. From: keithc@welchgate.welch.jhu.edu (Keith Christopher)
  4. Subject: Re: PROBLEMS WITH GADTOOLS
  5. Message-ID: <1992Aug14.161041.25734@welchgate.welch.jhu.edu>
  6. Organization: Johns Hopkins Univ. Welch Medical Library
  7. References: <stephan.713593467@cwis>
  8. Date: Fri, 14 Aug 1992 16:10:41 GMT
  9. Lines: 36
  10.  
  11.  
  12.  I've been using GadToolsBox for a while now and I haven't run into that problem.
  13. What ver are you using. 1.3 is the latest and you can get it from 
  14.  
  15. wuarchive.wustl.edu.
  16.  
  17. I like the program alot. ckeck the window structure for syntax.
  18.  
  19. Anyone > I setup a MsgPort routine that will refresh the window successfully. 
  20.          The problem however arises when I try to use IDCMP_CLOSEWINDOW. I can't
  21.          to get the system to close. I am using a:
  22.  
  23.   
  24. while(1){
  25.  
  26. WaitPort(Wind1->UserPort);
  27.  while(messg=GT_GetIMsg(Wind1->UserPort)){
  28.    Class=messg->Class;
  29.    GT_ReplyIMsg(messg);
  30.   switch(Class){
  31.     case IDCMP_CLOSEWINDOW:
  32.       SeeYa(); /* Just closes libaries,window and screen. */
  33.     break;
  34.     }
  35.    }
  36.  }
  37. exit(0);
  38. }
  39.  
  40. As most can probably tell I'm new to Multitasking and ports/processes are
  41.  strange to me. Anyhelp will be appreciated.
  42.  
  43. Also> Thanks for taking the edge off of windows and Gadgets Jan van den Baard!
  44.  
  45.  
  46. keithc 
  47.