-
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!!!
-
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
-
That´s it Jeff!!
Thank you very much again.
Ric.
P.S. As you noticed I´m pretty new on the Visual Studio tools!!