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

.NET Samples

Custom feedback tool and font drop-down list tool control (Code Files: FontToolControl) |