home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.sys.atari.st
- Path: sparky!uunet!mcsun!sun4nl!relay.philips.nl!nlsce1!castermn
- From: castermn@nlsce1.seri.philips.nl (Luc Castermans)
- Subject: MultiTos redraw problem
- Message-ID: <1992Dec23.140408.15936@phcomgw.seri.philips.nl>
- Sender: news@phcomgw.seri.philips.nl
- Organization: SERI-CEN Network Services, Philips C&P, Eindhoven, The Netherlands
- X-Newsreader: Tin 1.1 PL4
- Date: Wed, 23 Dec 1992 14:04:08 GMT
- Lines: 55
-
- I want to force a redraw on the INFO-line in a
- window. To do that I calculate the x,y,w,h of
- that part and than do an form_dial(FMD_FINISH,...)
- call. The code looks like this:
-
- void redraw_info(void)
- {
- /* fill dimensions of INFO line in window */
- ...
- form_dial(FMD_FINISH,...);
- }
-
- void redraw(GRECT *area_ptr)
- {
- redraw_info();
-
- /* walk rectangle list below here */
- .....
- }
-
- Upon a WM_REDRAW request redraw() is called.
-
-
- This works fine under TOS.
-
- I have a MultiTos version. Now this redraw
- piece of code seems to come into a infinite loop. For
- some reason the AES keeps on sending WM_REDRAW messages
- after the first form_dial call.
-
- I trust the MultiTos I have. Now: what is the only and
- only good way to do what I want to do ??
-
-
- Thank you in advance,
-
-
- Luc Castermans
-
- +-------------------------------------------+
- Philips Semiconductors
- Senior Engineer
- Cordless Telephone
- Application Laboratory Eindhoven (PCALE)
- Building BE-5.43
- P.O. Box 218
- 5600 MD Eindhoven
- Netherlands
- tel: +31-40-723919
- fax: +31-40-722764
- email: castermn@sce.philips.nl
- profs: C842541I--NLEVDPSB
- +-------------------------------------------+
-
-
-