A Microsoft Outlook email forum. Outlook Banter

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » Outlook Banter forum » Microsoft Outlook Email Newsgroups » Add-ins for Outlook
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

Outlook 2007 and GetDlgItem()



 
 
Thread Tools Search this Thread Display Modes
  #1  
Old December 1st 08, 02:36 AM posted to microsoft.public.outlook.program_addins
Sumesh
external usenet poster
 
Posts: 1
Default 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

  #2  
Old December 1st 08, 02:25 PM posted to microsoft.public.outlook.program_addins
Ken Slovak - [MVP - Outlook]
external usenet poster
 
Posts: 5,848
Default 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


 




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Outlook 2007 with Exhange 2007 - laptop config recommendation Phillip Armitage Outlook - Installation 1 June 25th 08 10:44 PM
Any planned improvements for Word HTML rendering engine in Office 2007 SP2? ...for Outlook 2007 anthonyx26 Outlook - General Queries 2 January 18th 08 12:44 AM
Outlook 2007 shared calendars are lost when exchange 2007 reboot Cris Krikkke Outlook - Calandaring 2 December 14th 07 07:25 AM
Office Standard 2007 Trial & Outlook 2007 full version cmmsc777 Outlook - Installation 3 November 7th 07 09:10 PM
Outlook 2007 will not open SharePoint 2007 task assignment messages ACK Outlook - General Queries 3 February 16th 07 02:15 AM


All times are GMT +1. The time now is 12:31 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-2025 Outlook Banter.
The comments are property of their posters.