Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Question about Application Object model for Word

Status
Not open for further replies.

wysockib

Programmer
Jul 9, 2009
1
US
I'm currently creating a Ribbon add-in for word that has a Custom task pane with images in it. I want to be able to drag one of the images from the CTP to the word document, but only allow them to "drop" the image while their cursor is over the document area where typing is allowed.

Does anyone know of any property from which i could extract information related to the document area? I've tried using a combination of the application.Height and application.ActiveWindow.UsableHeight and have gotten close, but it is still incorrect when multiple custom task panes such as clipboard or clip art are added.

Thanks in advance for any help or ideas :)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top