Share via


CHtmlEditCtrlBase::SetAbsolutePosition

Sets an element's position property to "absolute" or "static."

HRESULT SetAbsolutePosition( 
   bool bNewValue  
) const;

Parameters

  • bNewValue
    If true, the element's position property is "absolute"; if false, it is "static."

Return Value

Returns S_OK on success, or an error HRESULT on failure.

Remarks

This method sends the IDM_ABSOLUTE_POSITION command ID to the WebBrowser control.

Requirements

Header: afxhtml.h

See Also

Reference

CHtmlEditCtrlBase Class

CHtmlEditCtrlBase::GetAbsolutePosition