2.2.6.9.5 DhtmlControl::GetNavigateState


Version

Minimum Origin Version Required: Origin 2017 SR0

Description

Returns the current navigation state

Syntax

ODHTMLNavigateState GetNavigateState( )

Parameters

Return

One of the following value:

enum ODHTMLNavigateState {
	ODHTMLStateInvalid = -1,
	ODHTMLStateBeforeNavigate,
	ODHTMLStateNavigateComplete,
	ODHTMLStateDocumentComplete,
};

Examples

// m_dhtml is a member of your dialog class of DhtmlControl type
BOOL IsHTMLDocumentCompleted()
{
	return m_dhtml.GetNavigateState() == ODHTMLStateDocumentComplete;
}

Remark

See Also

Header to Included

Control.h