PDFdev is a service provided by PDFzone.com | http://www.pdfzone.com _____________________________________________________________

At 3:56 PM +0200 8/6/03, Stefano Maestri wrote:
I have a plug-in with a MFC dialog.

OK.



If I construct the dialog with DoModal() method, I'm able to manage all the messages that the user generates ( i.e. F5 key pressed, RETURN key pressed, etc� )

Right - because you've taken over the application's message loop...



If I construct it with the Create() method, I'm not able manage them. If the I press the F5 key it shows/hides the bookmarks panel instead of being called for my F5 function.

Right, because Acrobat gets first crack at the messages in this case. You will need to use standard Acrobat SDK functions to get at these things - OR use standard Windows techniques for overriding message loops.



It seems that Acrobat doesn't pass the messages to the the plug-in when there is a not-modal dialog.

Not unless you use the approved methods.



Leonard -- --------------------------------------------------------------------------- Leonard Rosenthol <mailto:[EMAIL PROTECTED]> Chief Technical Officer <http://www.pdfsages.com> PDF Sages, Inc. 215-629-3700 (voice) 215-629-0789 (fax)

To change your subscription:
http://www.pdfzone.com/discussions/lists-pdfdev.html



Reply via email to