|
| | |||||||
| Tablet PC Developers Show off your work while discussing with others how to create ink enabled applications. |
| | LinkBack | Thread Tools |
| |||
| InkOverlay and Word I have by trying (without success) for over a week ot get InkOverlay to attach to a freshly-created MS Word application window. Does anyone have working code (vb.net preferred, but I can translate if needed) that creates a new instance of Word (I don't really care HOW) and attaches an InkOverlay object to it? |
| |||
| Re: InkOverlay and Word You may have better luck if you were running within the Winword process as a COM addin. I'm not sure you can attach an InkOverlay or RealTimeStylus to a HWND that is not in the same process. -- Josh Einstein (Tablet PC MVP) Einstein Technologies Tablet Enhancements for Outlook - Try it free: www.tabletoutlook.com "Matt Ray" <themattray******.com> wrote in message news:1183744592.965888.10570@g13g2000hsf.googlegro ups.com... >I have by trying (without success) for over a week ot get InkOverlay > to attach to a freshly-created MS Word application window. Does anyone > have working code (vb.net preferred, but I can translate if needed) > that creates a new instance of Word (I don't really care HOW) and > attaches an InkOverlay object to it? > |
| |||
| Re: InkOverlay and Word Thank you for the response, Josh. It is truly appreciated. I am still incredibly fuzzy on the COM addins for office. From a "best practices" standpoint, are there any real solid tutorials or source code examples for rapid development of such addins? "Josh Einstein" wrote: > You may have better luck if you were running within the Winword process as a > COM addin. I'm not sure you can attach an InkOverlay or RealTimeStylus to a > HWND that is not in the same process. > > -- > Josh Einstein (Tablet PC MVP) > Einstein Technologies > Tablet Enhancements for Outlook - Try it free: www.tabletoutlook.com > > > "Matt Ray" <themattray******.com> wrote in message > news:1183744592.965888.10570@g13g2000hsf.googlegro ups.com... > >I have by trying (without success) for over a week ot get InkOverlay > > to attach to a freshly-created MS Word application window. Does anyone > > have working code (vb.net preferred, but I can translate if needed) > > that creates a new instance of Word (I don't really care HOW) and > > attaches an InkOverlay object to it? > > > |
| |||
| Re: InkOverlay and Word There's a couple of ways to get into the Winword process. Typically it's done using IDTExtensibility2 which is the global "extensibility" interface that allows add-ins to work with most Office applications, Visual Studio, and other applications that support it. It's very generic by design and is a very simple interface to implement but not necessarily simple to do correctly. Then there is VSTO (Visual Studio Tools for Office) which has pretty good support for Word. You can find more info about VSTO here: http://msdn2.microsoft.com/en-us/office/aa905533.aspx But basically, both of these technologies just provide a way to get your dll loaded into the Winword.exe process where you have access to the object model. But a side benefit for you is that your code should then be able to hook up an InkOverlay or RealTimeStylus (in theory) to Word. It's probably not going to be trivial though. My friend Loren spent a great deal of time getting Ink Gestures (www.inkgestures.com) to work. I'm not sure about the specific issues he ran into though. Josh "Matt Ray" <Matt Ray@discussions.microsoft.com> wrote in message news:6CAE3CF0-61F6-4CB4-9368-A3A386906FA5@microsoft.com... > Thank you for the response, Josh. It is truly appreciated. > > I am still incredibly fuzzy on the COM addins for office. From a "best > practices" standpoint, are there any real solid tutorials or source code > examples for rapid development of such addins? > > "Josh Einstein" wrote: > >> You may have better luck if you were running within the Winword process >> as a >> COM addin. I'm not sure you can attach an InkOverlay or RealTimeStylus to >> a >> HWND that is not in the same process. >> >> -- >> Josh Einstein (Tablet PC MVP) >> Einstein Technologies >> Tablet Enhancements for Outlook - Try it free: www.tabletoutlook.com >> >> >> "Matt Ray" <themattray******.com> wrote in message >> news:1183744592.965888.10570@g13g2000hsf.googlegro ups.com... >> >I have by trying (without success) for over a week ot get InkOverlay >> > to attach to a freshly-created MS Word application window. Does anyone >> > have working code (vb.net preferred, but I can translate if needed) >> > that creates a new instance of Word (I don't really care HOW) and >> > attaches an InkOverlay object to it? >> > >> |
| Bookmarks |
| Thread Tools | |
| |
| | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Newbie question: How to set InkOverlay.Enabled = false, without throwing any exceptions | Christian Stapfer | Tablet PC Developers | 3 | 06-27-2007 09:50 PM |
| Transparent Form, Solid InkOverlay? | Alz | Tablet PC Developers | 1 | 06-18-2007 09:31 PM |
| Re: InkOverlay | Kendal Goodrich | Tablet PC Developers | 1 | 05-06-2007 07:31 AM |
| Scrolling innacurate after scaling the InkOverlay | Steve Niles | Windows XP Tablet PC Newsgroup | 3 | 12-03-2006 11:37 AM |
| InkOverlay Handle Leak? | JasonG | Windows XP Tablet PC Newsgroup | 3 | 02-22-2005 08:16 AM |
| New To Technology Questions? | Do You Need Help with Your Computer or Device? | Do You Need Help with this site? |