SetFont method

J

julian

I am trying to automate Word using VC++. Inside Word I use VB code to get an
idea of what method to call. The VB code shows the Font property being
changed.
My problem is that the only equivalent exposed in my VC++ type-library
wrapper
is the method SetFont( LPDISPATCH ) in the Selection object.

The problem is I don't know how to create a LPDISPATCH parameter to
represent the
font I'm trying to use.

Can anybody help? Thanks a lot!

julian
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top