Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
HTMLElementBHO(C#)での位置を見つける方法は?
HTMLElement
ページ内の要素のオフセット位置と要素のクライアント位置、つまりクライアントウィンドウの左上からの要素の位置の両方が必要です。
私はこの問題を自分で解決しました。
IHTMLElement2のgetClientRects()メソッドとgetBoudningClientRect()メソッドは、この点で非常に役立ちます。
-ダッテ