This document is archived and information here might be outdated.  Recommended version.


ICompletionNotify.SetComplete Method (ArcObjects .NET 10.5 SDK)
ArcObjects Library Reference (SystemUI)  

ICompletionNotify.SetComplete Method

Advises the framework that the control user has indicated completion.

[Visual Basic .NET]
Public Sub SetComplete ( _
)
[C#]
public void SetComplete (
);
[C++]
HRESULT SetComplete(
void
);

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Remarks

When a ToolControl object gains focus, an ICompletionNotify object is passed to the ToolControl in the IToolControl::OnFocus method. The ToolControl needs to call the SetComplete method when it's finished to let the application know that the control should lose focus.

For example, a combobox control should lose focus after a user selects an item in the combobox. In this case in you would call SetComplete in the Click event of the combobox control.

See Also

ICompletionNotify Interface