Occurs when a screen display in the application is refreshed.
[Visual Basic .NET] Public Sub Refresh ( _ ByVal hdc As Integer _ )
[C#] public void Refresh ( int hdc );
[C++]
HRESULT Refresh(
long hdc
);
[C++]Parameters
hdc [in] hdc is a parameter of type long
Product Availability
Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.
Description
hDC is the handle to the display context which just got refreshed in the application.
Remarks
When implementing ITool to create a custom tool, write the code in the Refresh method that performs some action when a screen display in the application is refreshed while this tool is the active tool. When the current screen display in the application is refreshed, the handle to the device context that is associated with that screen display is passed into the Refresh method as an argument.