如何用IHTMLElement2中的get_clientLeft函数
解决方案 »
- VC++与winio
- 在工作线程中创建一个对象,怎么维护这个及调用这个对象.
- GetCursorPos(&ptPoint)问题???
- vc如何实现访问非当前对话框(属性页)中的数据?
- 调查
- 哪位大虾精通日文,韩文字符集,请指教!!小女子谢先!^_^
- 怎么样去理解"解决方案"?
- 暂住证问题
- 请问怎样把一个CString 转成 COleDateTime,急!!!!!!!
- 编辑pdf文件时怎会有edited by foxit pdf editor copyright(c) by foxit software
- 页面里面加了<!DOCTYPE...>后,就不能设置CHtmlView的滚动条位置了,据说是IE的BUG,怎么办呢?
- 如何取得html网页上的滚动距离的数据?
Parametersp
Pointer to a long that receives the described distance, in pixels.
Return ValueReturns S_OK if successful, or an error value otherwise.
ResThe difference between the offsetLeft and clientLeft properties is the border of the object
HRESULT IHTMLElement2::get_scrollTop(long *p);
HRESULT IHTMLElement2::get_scrollLeft(long *p);
HRESULT IHTMLElement2::get_scrollWidth(long *p);
HRESULT IHTMLElement2::get_scrollHeight(long *p);