Check if a MUI Item need a refresh, when blocked by ASL requester.
Source position: MUIClass.Base.pas line 237
public procedure TMUIApplication.CheckRefresh; |
This method checks all currently open windows if they need refreshing and refreshes them if necessary.
You won't need to call this method if you are within your traditional MUI main loop. However, if you e.g. spawn some kind of synchronous requester (AslRequest), MUI cannot react on IDCMP_REFRESHWINDOW messages.
The result is that the user may see a damaged MUI window if he moves around a file requester and MUI is configured for simple refresh.
CheckRefresh() is the solution for this problem. just call this function inside the IntuiMsgHook of the ASL Requester.
|
Buffer Input Messages on time consuming operations |