View Single Post
Old 17 November 2018, 08:57   #2
thomas
Registered User
 
thomas's Avatar
 
Join Date: Jan 2002
Location: Germany
Posts: 7,002
Quote:
Originally Posted by thyslo View Post
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.
thomas is offline  
 
Page generated in 0.04778 seconds with 11 queries