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
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