There are several programming examples as well as complete applications for Microsoft Access, Microsoft Visual Basic, Microsoft Excel, and Lotus 1-2-3 that you can use when working with the QMF for Windows API.
You can download the source code for each at
http://www.ibm.com/qmf