Quote:
Originally Posted by thyslo
1) The part of the GadTools window that was overlapped by the request is refreshed automatically. I don't understand why, because my GT_BeginRefresh / GT_EndRefresh are not done yet, because the request is open and blocks the program so that the refresh messages can't be received while the request is open.
|
Intuition automatically refreshes all known elements. That is the window borders and gadgets linked to the Window->FirstGadget list.
Quote:
How is problem 2) usually avoided in Amiga programs?
|
There are several methods:
- make the window SMART_REFRESH.
- use ASLFR_Window and ASLFR_IntuiMsgFunc to keep your window alive.
- instead of drawing yourself attach all the text to a gadget and let Intuition do the refreshing.
- place the windows and requester so that the user does not need to move it around.