CHtmlEditCtrlBase::SetAbsolutePosition

将元素的位置属性“绝对”或“静态”。

HRESULT SetAbsolutePosition(
   bool bNewValue 
) const;

参数

  • bNewValue
    如果为true,元素的位置特性为“绝对”;如果为false,则为“静态”。

返回值

返回在成功的S_OK或在失败时错误HRESULT。

备注

此方法 IDM_ABSOLUTE_POSITION命令ID 发送到浏览器控件。

要求

Header: afxhtml.h

请参见

参考

CHtmlEditCtrlBase选件类

CHtmlEditCtrlBase::GetAbsolutePosition