|
-
September 16th, 2002, 07:15 AM
#1
PowerPoint Automation
I´m trying to do an app for PowerPoint automation. Since I am really knew on this I was woundering:
How could I know what are the possible values that I could use for the methods I´ve found.
For instance: I know that nNewValue = 2 makes the Window minimized on the code below. How can I find all the other possible values:
void _Application::SetWindowState(long nNewValue)
{
static BYTE parms[] =
VTS_I4;
InvokeHelper(0x7ed, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
nNewValue);
}
Thanks in advance!!!
-
September 16th, 2002, 07:34 AM
#2
run the following...
1. Start | Programs | Microsoft Visual C++ 6.0 | Microsoft Visual C++ 6.0 Tools | OLE View
2. File | View TypeLib
3. Filename... C:\Program Files\ Microsoft Office\Office\MsPpt9.olb
4. Under typedef enum PpWindowState, you will find...
typedef enum {
ppWindowNormal = 1,
ppWindowMinimized = 2,
ppWindowMaximized = 3
} PpWindowState;
All the other enums are listed on the left side as well.
Hope this helps
-
September 16th, 2002, 12:24 PM
#3
That´s it Jeff!!
Thank you very much again.
Ric.
P.S. As you noticed I´m pretty new on the Visual Studio tools!!
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|