![]() |
Modal form is not properly working on inspector
Hi all, I have created an outlook addin and added toolbar on an inspector open event in inspector. When user click on a button on toolbar, new modal form gets opened on top of inspector . If user clicks on send button of inspector and closes the model form then send email event of inspector gets fired. How can I make it completely model , inspectors event should not execute if user has clicked on button while model window was opened? Regards, Nitin -- http://forums.slipstick.com |
Modal form is not properly working on inspector
What version of Outlook, what language and development platform are you
using? How are you opening the form? If a form is opened modally the Inspector should not be responsive until the form is dismissed if you are doing things correctly. -- Ken Slovak [MVP - Outlook] http://www.slovaktech.com Author: Professional Programming Outlook 2007. Reminder Manager, Extended Reminders, Attachment Options. http://www.slovaktech.com/products.htm " nitwalkegmail.com.49esxo@invalid wrote in message news:nitwalkegmail.com.49esxo@invalid... Hi all, I have created an outlook addin and added toolbar on an inspector open event in inspector. When user click on a button on toolbar, new modal form gets opened on top of inspector . If user clicks on send button of inspector and closes the model form then send email event of inspector gets fired. How can I make it completely model , inspectors event should not execute if user has clicked on button while model window was opened? Regards, Nitin -- http://forums.slipstick.com |
Modal form is not properly working on inspector
It works for outlook2007.It also works for outlook2003 when mail format is 'Microsoft Office Word 2003 to Rich Text email Messages' but when we use mail format as 'Microsoft Office Word 2003 and edit e-mail messages.' it doesn't work. I have developed addin in C#. form is opened using form.showDialog() method.This method made inspector as modal. 'Ken Slovak - [MVP - Outlook Wrote: ;139759']What version of Outlook, what language and development platform are you using? How are you opening the form? If a form is opened modally the Inspector should not be responsive until the form is dismissed if you are doing things correctly. -- Ken Slovak [MVP - Outlook] http://www.slovaktech.com Author: Professional Programming Outlook 2007. Reminder Manager, Extended Reminders, Attachment Options. http://www.slovaktech.com/products.htm " nitwalkegmail.com.49esxo@invalid wrote in message news:nitwalkegmail.com.49esxo@invalid... Hi all, I have created an outlook addin and added toolbar on an inspector open event in inspector. When user click on a button on toolbar, new modal form gets opened on top of inspector . If user clicks on send button of inspector and closes the model form then send email event of inspector gets fired. How can I make it completely model , inspectors event should not execute if user has clicked on button while model window was opened? Regards, Nitin -- http://forums.slipstick.com -- http://forums.slipstick.com |
Modal form is not properly working on inspector
See my reply to your question on the Redemption mailing list
(http://tech.groups.yahoo.com/group/Outlook-Redemption/) -- Dmitry Streblechenko (MVP) http://www.dimastr.com/ OutlookSpy - Outlook, CDO and MAPI Developer Tool - " nitwalkegmail.com.49esxo@invalid wrote in message news:nitwalkegmail.com.49esxo@invalid... Hi all, I have created an outlook addin and added toolbar on an inspector open event in inspector. When user click on a button on toolbar, new modal form gets opened on top of inspector . If user clicks on send button of inspector and closes the model form then send email event of inspector gets fired. How can I make it completely model , inspectors event should not execute if user has clicked on button while model window was opened? Regards, Nitin -- http://forums.slipstick.com |
Modal form is not properly working on inspector
Please see following link to get answer http://tinyurl.com/y5kmhht 'Ken Slovak - [MVP - Outlook Wrote: ;140052']What do you mean by "This method made inspector as modal." ? You aren't displaying the Inspector using Display() with the modal argument are you? You might need to get the window handle of the Inspector and supply an IOLKWindow class object that returns that handle and supply that as the owner of the modal form. I've often had to do that, especially with WordMail Inspectors. -- Ken Slovak [MVP - Outlook] http://www.slovaktech.com Author: Professional Programming Outlook 2007. Reminder Manager, Extended Reminders, Attachment Options. http://www.slovaktech.com/products.htm " nitwalkegmail.com.49gnu0@invalid wrote in message news:nitwalkegmail.com.49gnu0@invalid... It works for outlook2007.It also works for outlook2003 when mail format is 'Microsoft Office Word 2003 to Rich Text email Messages' but when we use mail format as 'Microsoft Office Word 2003 and edit e-mail messages.' it doesn't work. I have developed addin in C#. form is opened using form.showDialog() method.This method made inspector as modal. -- http://forums.slipstick.com |
Modal form is not properly working on inspector
Post whatever you're going to post here.
-- Ken Slovak [MVP - Outlook] http://www.slovaktech.com Author: Professional Programming Outlook 2007. Reminder Manager, Extended Reminders, Attachment Options. http://www.slovaktech.com/products.htm " nitwalkegmail.com.49iiib@invalid wrote in message news:nitwalkegmail.com.49iiib@invalid... Please see following link to get answer http://tinyurl.com/y5kmhht |
Modal form is not properly working on inspector
Here is code. //form object is windows form OutlookWindow32 inspectorIWin32Window = new OutlookWindow32((Object)_mailItem.GetInspector, true); form.ShowDialog(inspectorIWin32Window ); But I get another problem. I have added a ContextMenuStrip on a form. When user click on contextMenu,, menu appears but form get minimised. This is happened after adding above code. Can I get any suggestion? 'Ken Slovak - [MVP - Outlook Wrote: ;140200']Post whatever you're going to post here. -- Ken Slovak [MVP - Outlook] http://www.slovaktech.com Author: Professional Programming Outlook 2007. Reminder Manager, Extended Reminders, Attachment Options. http://www.slovaktech.com/products.htm " nitwalkegmail.com.49iiib@invalid wrote in message news:nitwalkegmail.com.49iiib@invalid... Please see following link to get answer http://tinyurl.com/y5kmhht -- http://forums.slipstick.com |
Modal form is not properly working on inspector
I didn't get IOLKWindow class. Can you give code? 'Ken Slovak - [MVP - Outlook Wrote: ;140052']What do you mean by "This method made inspector as modal." ? You aren't displaying the Inspector using Display() with the modal argument are you? You might need to get the window handle of the Inspector and supply an IOLKWindow class object that returns that handle and supply that as the owner of the modal form. I've often had to do that, especially with WordMail Inspectors. -- Ken Slovak [MVP - Outlook] http://www.slovaktech.com Author: Professional Programming Outlook 2007. Reminder Manager, Extended Reminders, Attachment Options. http://www.slovaktech.com/products.htm " nitwalkegmail.com.49gnu0@invalid wrote in message news:nitwalkegmail.com.49gnu0@invalid... It works for outlook2007.It also works for outlook2003 when mail format is 'Microsoft Office Word 2003 to Rich Text email Messages' but when we use mail format as 'Microsoft Office Word 2003 and edit e-mail messages.' it doesn't work. I have developed addin in C#. form is opened using form.showDialog() method.This method made inspector as modal. -- http://forums.slipstick.com |
Modal form is not properly working on inspector
What you set up it just as good and will work as well.
-- Ken Slovak [MVP - Outlook] http://www.slovaktech.com Author: Professional Programming Outlook 2007. Reminder Manager, Extended Reminders, Attachment Options. http://www.slovaktech.com/products.htm " nitwalkegmail.com.49ntgy@invalid wrote in message news:nitwalkegmail.com.49ntgy@invalid... I didn't get IOLKWindow class. Can you give code? |
Modal form is not properly working on inspector
I don't know what a ContextMenuStrip is or why the form it's on would appear
minimized. -- Ken Slovak [MVP - Outlook] http://www.slovaktech.com Author: Professional Programming Outlook 2007. Reminder Manager, Extended Reminders, Attachment Options. http://www.slovaktech.com/products.htm " nitwalkegmail.com.49ikco@invalid wrote in message news:nitwalkegmail.com.49ikco@invalid... Here is code. //form object is windows form OutlookWindow32 inspectorIWin32Window = new OutlookWindow32((Object)_mailItem.GetInspector, true); form.ShowDialog(inspectorIWin32Window ); But I get another problem. I have added a ContextMenuStrip on a form. When user click on contextMenu,, menu appears but form get minimised. This is happened after adding above code. Can I get any suggestion? |
All times are GMT +1. The time now is 05:11 AM. |
Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 2.4.0
Copyright ©2004-2006 OutlookBanter.com