Fix PPT again! and remove tabs

This commit is contained in:
Jonathan Corwin 2011-03-16 23:37:16 +00:00
parent 72f445c426
commit 23e178846b
3 changed files with 563 additions and 562 deletions

View File

@ -80,6 +80,7 @@ class PowerpointController(PresentationController):
log.debug(u'start_process')
if not self.process:
self.process = Dispatch(u'PowerPoint.Application')
self.process.Visible = True
self.process.WindowState = 2
def kill(self):

File diff suppressed because it is too large Load Diff

View File

@ -61,24 +61,24 @@ void Unhook(int id);
struct PPTVIEW
{
HHOOK hook;
HHOOK msgHook;
HWND hWnd;
HWND hWnd2;
HWND hParentWnd;
HANDLE hProcess;
HANDLE hThread;
DWORD dwProcessId;
DWORD dwThreadId;
RECT rect;
int slideCount;
int currentSlide;
int firstSlideSteps;
int lastSlideSteps;
int steps;
HHOOK hook;
HHOOK msgHook;
HWND hWnd;
HWND hWnd2;
HWND hParentWnd;
HANDLE hProcess;
HANDLE hThread;
DWORD dwProcessId;
DWORD dwThreadId;
RECT rect;
int slideCount;
int currentSlide;
int firstSlideSteps;
int lastSlideSteps;
int steps;
int guess;
char filename[MAX_PATH];
char previewPath[MAX_PATH];
char filename[MAX_PATH];
char previewPath[MAX_PATH];
int slideNos[MAX_SLIDES];
PPTVIEWSTATE state;
PPTVIEWSTATE state;
};