![]() |
Outlook 2007 and GetDlgItem()
Hi All,
I am developing an outlook add-in, which on certain preconditions will display an image on the message window. I create a child window of the message window and place the image on the child window. The location of the child window/image is manipulated using the location of from window, from text, to window , to text etc... present in the message window. I get the controls present in the window using their control id and getdlgitem() functions. Now, the problem is that this works perfectly in outlook 2003 and previous versions, but for some reason in outlook 2007 this doesn't work properly in spite of having the same control id's.I have been stuck up on this for quite sometime.Any help in this issue is highly appreciated. Regards Sumesh |
Outlook 2007 and GetDlgItem()
It's possible that the controls aren't initialized at the time you call
getdlgitem(). Are you sure the control id's are identical and that the dialog window and all controls are initialized at the time you're calling getdlgitem()? -- 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 "Sumesh" wrote in message ... Hi All, I am developing an outlook add-in, which on certain preconditions will display an image on the message window. I create a child window of the message window and place the image on the child window. The location of the child window/image is manipulated using the location of from window, from text, to window , to text etc... present in the message window. I get the controls present in the window using their control id and getdlgitem() functions. Now, the problem is that this works perfectly in outlook 2003 and previous versions, but for some reason in outlook 2007 this doesn't work properly in spite of having the same control id's.I have been stuck up on this for quite sometime.Any help in this issue is highly appreciated. Regards Sumesh |
All times are GMT +1. The time now is 12:29 PM. |
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