|
| | |||||||
| Tablet PC Developers Show off your work while discussing with others how to create ink enabled applications. |
| | LinkBack | Thread Tools |
| |||
| InkPicture NewInAirPackets not fireing... Hi! I'm using Ink with Delphi. I wrote a OnNewInAirPackets event handler and it nevers gets fired. I tested it with C# and it is fireing correctly. Anyone knows why? Thanks VB |
| |||
| Re: InkPicture NewInAirPackets not fireing... Hi Vincent, I am not very familiar with Delphi, but I assume you are using the COM Ink API (in InkObj.dll) from your Delphi environment, correct? When using the COM API, you have to tell the Ink collection object (InkPicture, InkOverlay or InkCollector) which of the optional events you want to receive. To do so, please call the SetEventInterest method [1] on your InkPicture control. Specifically, the NewPackets and NewInAirPackets events are expensive from a performance perspective as they fire with high frequency. Thus we do not produce them by default - you only receive them if you explicitely ask for them. In a managed code environment (like C# or VB.NET) we manage the event interest automatically behind the scenes for you: if we see that an event handler for an optional event is attached, we'll start producing the events - making this transparent to the user. Thus your C# application does receive the events without any extra API calls. Thanks, Stefan Wick - http://blogs.msdn.com/swick [1] http://msdn2.microsoft.com/en-us/library/ms704140.aspx "Vincent Bergeron" <info@vincentbergeron.com> wrote in message news:OaqkLN8JIHA.5860@TK2MSFTNGP04.phx.gbl... > Hi! > > I'm using Ink with Delphi. > > I wrote a OnNewInAirPackets event handler and it nevers gets fired. > > I tested it with C# and it is fireing correctly. > > Anyone knows why? > > Thanks > > VB > |
| Bookmarks |
| Thread Tools | |
| |
| | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Renderer Problems with InkPicture | matt | Windows XP Tablet PC Newsgroup | 1 | 03-17-2005 09:15 AM |
| InkPicture, InkCollector & JScript | =?Utf-8?B?RnV6eXJhbQ==?= | Windows XP Tablet PC Newsgroup | 1 | 07-19-2004 03:20 PM |
| inkpicture | CharlieChau | Windows XP Tablet PC Newsgroup | 1 | 06-03-2004 11:21 PM |
| New To Technology Questions? | Do You Need Help with Your Computer or Device? | Do You Need Help with this site? |