Hi,
Is there a way how my client application can recognize that the XChange control invoked the 'Send by E-mail' function? I hoped that the control is sending some notification, but it is not. The problem is that during the e-mail send it is not disabled my main application window (and so the user can still acess it, although working with it is unwanted and unsafe in this state). You are probably using MAPISendMail or MAPISendDocuments function with your windows handle, but this disables only your control window and not my top level window. I can disable it myself, but for this I need to be notified that the e-mail send was invoked.
'Send by E-mail' notification
Moderators: PDF-XChange Support, Daniel - PDF-XChange, Chris - PDF-XChange, Sean - PDF-XChange, Vasyl - PDF-XChange, Ivan - Tracker Software, Stefan - PDF-XChange
-
- Site Admin
- Posts: 2448
- Joined: Thu Jun 30, 2005 4:11 pm
Re: 'Send by E-mail' notification
Hi, anovy.
No way for this in the current build.
But we can add special event for intercepting/overloading of the UI-command into the next build.
Best
Regards.
No way for this in the current build.
But we can add special event for intercepting/overloading of the UI-command into the next build.
Best
Regards.
PDF-XChange Co. LTD (Project Developer)
Please archive any files posted to a ZIP, 7z or RAR file or they will be removed and not posted.
Please archive any files posted to a ZIP, 7z or RAR file or they will be removed and not posted.
-
- User
- Posts: 164
- Joined: Mon Feb 08, 2010 8:48 am
Re: 'Send by E-mail' notification
Please do it as soon as possible. It is really a serious lack if you did not inform the container that it should enter disabled state.
And in this case it may be enough to call MAPISendMail or MAPISendDocuments not with your control window handle, but with the container's frame window handle (obtained from IOleInPlaceFrame::GetWindow). And in either case before and after such operation (or before opening a modal dialog) you should call the container's IOleInPlaceFrame::EnableModeless method, which you do not now.
And in this case it may be enough to call MAPISendMail or MAPISendDocuments not with your control window handle, but with the container's frame window handle (obtained from IOleInPlaceFrame::GetWindow). And in either case before and after such operation (or before opening a modal dialog) you should call the container's IOleInPlaceFrame::EnableModeless method, which you do not now.
-
- Site Admin
- Posts: 2448
- Joined: Thu Jun 30, 2005 4:11 pm
Re: 'Send by E-mail' notification
Also, we will try to fix issue with state of the top level window during sending of e-mail.
PDF-XChange Co. LTD (Project Developer)
Please archive any files posted to a ZIP, 7z or RAR file or they will be removed and not posted.
Please archive any files posted to a ZIP, 7z or RAR file or they will be removed and not posted.
-
- User
- Posts: 164
- Joined: Mon Feb 08, 2010 8:48 am
Re: 'Send by E-mail' notification
Thanks for the e-mail fix (in 2.0.51 version). But will you support (call) also the IOleInPlaceFrame::EnableModeless function?
-
- Site Admin
- Posts: 2448
- Joined: Thu Jun 30, 2005 4:11 pm
Re: 'Send by E-mail' notification
Hi anovy
Will check this feature.
Thanks.
Will check this feature.
Thanks.
PDF-XChange Co. LTD (Project Developer)
Please archive any files posted to a ZIP, 7z or RAR file or they will be removed and not posted.
Please archive any files posted to a ZIP, 7z or RAR file or they will be removed and not posted.