Unit 'MUIClass.Base' Package
[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] [#MUIClass]

TMUIApplication.CheckRefresh

Check if a MUI Item need a refresh, when blocked by ASL requester.

Declaration

Source position: MUIClass.Base.pas line 237

public procedure TMUIApplication.CheckRefresh;

Description

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.

See also

InputBuffered

  

Buffer Input Messages on time consuming operations


Documentation generated on: 2024-11-21