CComPtr and CComQIPtr, ATL / COM’s smart pointers

Until I started working at Microsoft, or maybe even until I started working on Windows, I wasn’t much of a “COM in C++” guy.  The functionality that I needed was typically abstracted in to a managed language such as C# and so I could get by by without ever really learning COM.  In fact, I had only written 1 application that…

3

Getting and Setting Properties of a Dialog Created Control in COM and OLE

OK, I recently had a really hard time getting and setting the properties of an ActiveX control in C++.  I’m just writing a quick post on how this works because I had a heck of a time finding the right resources for this.  What I had done was dragged and dropped a control from the…

1

Using the InkOverlay Control to Avoid Reinventing the Wheel

As mentioned elsewhere, the InkOverlay control is a superset of the InkCollector.  This control enables pen input, pen erasing, and pen selection modes for managing ink collection.  For this exercise, you will be adding erase and selection functionality to the ink recognition example. First, the InkCollector control from the example will need to be replaced…

1

Getting Started with Unmanaged Tablet Development

Background on Pen-computing for Tablet, Inking, and Recognition Taking input from a pen device and transforming that data into other meaningful data is a common and potentially arduous task for pen-computing developers but is relatively easy on Microsoft’s pen-computing platform, the Tablet PC.  In the case of Tablet PC, this process is simplified because Microsoft…

1