Outlook 2003 Plugin not receiving resize events

  • Thread starter Thread starter Michael Fox
  • Start date Start date
Status
Not open for further replies.
M

Michael Fox

I have an outlook 2003 plugin that I am developing in C# using VSTO in

Visual Studio 2008, and I am having some trouble with resizing when

using Word 2003 as the composer.

The Plugin adds an extra panel to the bottom of the compose window

(shrinking the main compose window slightly.) The extra panel contains

a Rich text box and a few other controls.

The issue is that the extra panel is not receiving resize events from

the compose window. I have used the NativeWindow class in C# to get

access to the message queue in the parent window (to intercept resize

events) but am not receiving any events. Upon closer inspection, this

appears to be because the Word2003 composer window is in a different

process than my extra panel. (The Panel is created by the plugin

running in Outlook, and the Word2003 compose window is an instance of

Word that runs in a separate process.) Not receiving messages from

windows in another process is a known limitation of the NativeWindow

class.

So my question is: Is there a way to receive the resize events from the

Word 2003 compose window? My resizing code works correctly to position

and size my extra panel, the issue is that it is not being triggered by

resize events.

Michael Fox
 
If it could be done at all it would be by using Win32 API message hooks on

that window and intercepting all messages directed at that window. You'd

probably get better information and help in a Win32 API group or something

like that.

"Michael Fox" <Michael.Fox.4f468be@outlookbanter.com> wrote in message

news:Michael.Fox.4f468be@outlookbanter.com...

> I have an outlook 2003 plugin that I am developing in C# using VSTO in
> Visual Studio 2008, and I am having some trouble with resizing when
> using Word 2003 as the composer.

> The Plugin adds an extra panel to the bottom of the compose window
> (shrinking the main compose window slightly.) The extra panel contains
> a Rich text box and a few other controls.

> The issue is that the extra panel is not receiving resize events from
> the compose window. I have used the NativeWindow class in C# to get
> access to the message queue in the parent window (to intercept resize
> events) but am not receiving any events. Upon closer inspection, this
> appears to be because the Word2003 composer window is in a different
> process than my extra panel. (The Panel is created by the plugin
> running in Outlook, and the Word2003 compose window is an instance of
> Word that runs in a separate process.) Not receiving messages from
> windows in another process is a known limitation of the NativeWindow
> class.

> So my question is: Is there a way to receive the resize events from the
> Word 2003 compose window? My resizing code works correctly to position
> and size my extra panel, the issue is that it is not being triggered by
> resize events.

> > Michael Fox
 
Status
Not open for further replies.
Similar threads
Thread starter Title Forum Replies Date
N runtime error while loading of outlook 2003 plugin Outlook VBA and Custom Forms 1
D Outlook 2003 stopped dead Using Outlook 2
D Outlook 2021 not working with Outlook 2003 installed Using Outlook 5
D Outlook 2003 stopped working - get they dialog box asking for username & Password Using Outlook 2
D Wishlist How to use 'app password' in Outlook 2003 after Google pulled plug on "less secure apps" Using Outlook 2
J Outlook 2003 .pst Will Not Restore Completely to Outlook 2019 Using Outlook 5
D Outlook 2003 Mail Fails Using Outlook 1
D Wrong email address in Outlook 2003 "From" tab in new outgoing emails Using Outlook 4
V Outlook 2003 and Windows 11 Using Outlook 4
glnz Moving from Outlook 2003 to MS365 Outlook - need basics Using Outlook 4
I Outlook 2003 shows html code when To: field is empty Using Outlook 7
B Outlook 2003 email sending & receiving suddenly stopped working Using Outlook 3
H Outlook 2003 find by "has attachment" Using Outlook 1
glnz How set up new IMAP on Outlook-Office 365 and merge in pst from Outlook 2003 for same two email accounts? Using Outlook 5
P Import Categories from Outlook 2003 Using Outlook 8
V Outlook 2003 problem with Windows 10 Creators Update 1709 Using Outlook 0
M Outlook 2003 pictures - some visible, some not Using Outlook 0
S Outlook 2003 to Outlook 2013 pst file Using Outlook 5
O Memory Leak in Outlook 2003 Using Outlook 3
W Changing looks of emails in Outlook 2003 Using Outlook 0
O Outlook 2003 can't send, but settings seem OK Using Outlook 1
P URL Hyperlink not working correctly in Outlook 2003 Using Outlook 10
O Outlook 2003 can't open contacts. Using Outlook 2
O Promoting Outlook 2003 User Templates Using Outlook 1
O W-a-a-y too many PSTs (Outlook 2003) Using Outlook 0
J Outlook 2003-2010 PST Field Editor Using Outlook 1
P Outlook 2003 - Do I need a new profile? Using Outlook 2
E Want to Import Outlook 2003 pst files to later version Using Outlook 6
A error message outlook 2003 Using Outlook 1
B Seeking advice now Outlook 2003 is unsupported by Exchange Using Outlook 4
O Change Debit to Credit in Outlook 2003? Using Outlook 1
J problems downloading POP3 emails to Outlook 2003 Using Outlook 1
G Outlook 2003 VBA Won't Run In Outlook 2010 Outlook VBA and Custom Forms 4
P Outlook 2003 - possible to recreate corrupt account? Using Outlook 3
Calvyn Outlook 2003 cannot import .vcs subject Using Outlook 1
T Query about one aspect of migrating .pst files from Outlook 2003 to Outlook 2013 Using Outlook 5
C Outlook 2003 contacts Using Outlook 1
G Configuring Outlook 2003 for Gmail with both pop3 & imap4 accounts Using Outlook 1
M HELP--Extract Data from 2003 outlook transfer to excel spreadsheet Using Outlook 1
V Outlook 2003 editing problem Using Outlook 4
X Outlook 2003 not sending all of the new email message Using Outlook 1
2 How to use outlook 2003 calendar in always offline mode Using Outlook 0
G Outlook 2003 I need to move email to folder based on subject, using wild card Using Outlook 0
G outlook 2013 - Open In Outlook 2003 Using Outlook 1
A Exchange 2003 Outlook 2010 64 Bit- AutoDiscover Connection Err - Certificate Exchange Server Administration 9
T Use Outlook 2003 with Office 2013 Using Outlook 1
D Outlook 2003 contact folder opend in scrolled down position Using Outlook 2
O Need advice ASAP! Outlook 2003. Using Outlook 1
H Custom Contact form not working in Outlook 2003 Using Outlook 3
O Outlook 2003 forms problem Using Outlook 3

Similar threads

Back
Top