Title: Auto-Complete and Close Window
OK...  I am able to close the window, but I still need help with the Auto-Complete flag.  Thanks.  To close the window, I just used windows API calls:
 
HWND hwnd = GetForegroundWindow();
PostMessage(hwnd, WM_CLOSE, 0, 0);
 
-Chris
-----Original Message-----
From: Chris Cyr
Sent: Tuesday, July 22, 2003 4:18 PM
To: [EMAIL PROTECTED]
Subject: [PDFdev] Auto-Complete and Close Window

I have written a plug-in for Acrobat 6.0 (full version).  I added some custom toolbar buttons that do various things, and when one of them is clicked, I need to be able to close the window.  But our plug-in is designed to only function when a document is opened externally (i.e. in a browser window).  AVDocClose() does not seem to work.  Any ideas?

Also, I would like to disable the Auto-Complete feature in Adobe 6.0 when our plug-in loads.  I tried looking for a flag that corresponds to this and use AVAppSetPreference(), but couldn't find one.

Thanks in advance.

-Chris


Reply via email to