home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #31 / NN_1992_31.iso / spool / comp / sys / atari / st / 18847 < prev    next >
Encoding:
Text File  |  1992-12-23  |  1.6 KB  |  67 lines

  1. Newsgroups: comp.sys.atari.st
  2. Path: sparky!uunet!mcsun!sun4nl!relay.philips.nl!nlsce1!castermn
  3. From: castermn@nlsce1.seri.philips.nl (Luc Castermans)
  4. Subject: MultiTos redraw problem
  5. Message-ID: <1992Dec23.140408.15936@phcomgw.seri.philips.nl>
  6. Sender: news@phcomgw.seri.philips.nl
  7. Organization: SERI-CEN Network Services, Philips C&P, Eindhoven, The Netherlands
  8. X-Newsreader: Tin 1.1 PL4
  9. Date: Wed, 23 Dec 1992 14:04:08 GMT
  10. Lines: 55
  11.  
  12. I want to force a redraw on the INFO-line in a 
  13. window. To do that I calculate the x,y,w,h of
  14. that part and than do an form_dial(FMD_FINISH,...)
  15. call. The code looks like this:
  16.  
  17.    void redraw_info(void)
  18.    {
  19.        /* fill dimensions of INFO line in window */
  20.        ...
  21.        form_dial(FMD_FINISH,...);
  22.    }
  23.  
  24.    void redraw(GRECT *area_ptr)
  25.    {
  26.        redraw_info();
  27.  
  28.        /* walk rectangle list below here */
  29.        .....
  30.    }
  31.  
  32.    Upon a WM_REDRAW request redraw() is called.
  33.  
  34.  
  35. This works fine under TOS.
  36.  
  37. I have a MultiTos version. Now this redraw
  38. piece of code seems to come into a infinite loop. For
  39. some reason the AES keeps on sending WM_REDRAW messages
  40. after the first form_dial call.
  41.  
  42. I trust the MultiTos I have. Now: what is the only and
  43. only good way to do what I want to do ??
  44.  
  45.  
  46. Thank you in advance,
  47.  
  48.  
  49. Luc Castermans
  50.  
  51. +-------------------------------------------+
  52.   Philips Semiconductors
  53.   Senior Engineer 
  54.   Cordless Telephone
  55.   Application Laboratory Eindhoven (PCALE)
  56.   Building BE-5.43
  57.   P.O. Box 218
  58.   5600 MD  Eindhoven
  59.   Netherlands
  60.   tel:   +31-40-723919
  61.   fax:   +31-40-722764
  62.   email: castermn@sce.philips.nl
  63.   profs: C842541I--NLEVDPSB
  64. +-------------------------------------------+
  65.  
  66.  
  67.