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 » Outlook and VBA
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

Problem with commandbar position and word as e-mail-editor



 
 
Thread Tools Search this Thread Display Modes
  #1  
Old October 10th 06, 07:17 AM posted to microsoft.public.outlook.program_vba
Peter Marchert
external usenet poster
 
Posts: 208
Default Problem with commandbar position and word as e-mail-editor

Hello together,

Situation: Writing a new e-mail with word as e-mail-editor. In this
e-mail there is a commandbar of my program.

A user position my commandbar in the same row as another commandbar
(for example the "E-Mail-CommandBar"). The positon of my commandbar
will be saved (Position, Rowindex, Left and Top) by the OnUpdate-Event.


The next time the user opens an e-mail, the commandbar is on its
correct position, but it seems the "E-Mail-Commandbar" does not like my
commandbar and take its position in the next row.

I think, the problem exists if my commandbar is positioned before the
"E-Mail-CommandBar" exists. At this time the Inspector is not visible.
How can I fix this problem? I tried to create my commandbar after the
inspector is opend but there are two problems: 1. It takes some time to
display the commandbar and 2. The commandbar always is floated :-(

How can I fix this problem? I searched some time in this newsgroups but
I didn`t find the right post.

Thanks for any suggestions!

--
EDV-Service Marchert
[Peter Marchert]

---------------------------------------
Homepage: http://www.marchert.de
Rufnummernformatierung mit EditNumbers
Kontakte per Mausklick mit ContactMaker

Ads
  #2  
Old October 10th 06, 02:14 PM posted to microsoft.public.outlook.program_vba
Ken Slovak - [MVP - Outlook]
external usenet poster
 
Posts: 5,848
Default Problem with commandbar position and word as e-mail-editor

You cannot control what addin gets a NewInspector event first, or an
Activate event within an Inspector event handler. You also can't control the
order in which addins are initialized in OnConnection when Outlooks starts
up. Those are non-deterministic events.

Some addins just put their widgets wherever they feel like putting them,
with no regard for other addins. Some don't even bother saving their last
known positions so they are re-created at the same place. Not much you can
do about that either.

WordMail adds extra problems because of the limits on where you can add
things or place things. About all you can do is wait for the first
Word.WindowActivate event to fire on the Inspector's WordMail window, that's
usually later than Inspector.Activate.

--
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Absolute Beginner's Guide to Microsoft Office Outlook 2003
Reminder Manager, Extended Reminders, Attachment Options
http://www.slovaktech.com/products.htm


"Peter Marchert" wrote in message
oups.com...
Hello together,

Situation: Writing a new e-mail with word as e-mail-editor. In this
e-mail there is a commandbar of my program.

A user position my commandbar in the same row as another commandbar
(for example the "E-Mail-CommandBar"). The positon of my commandbar
will be saved (Position, Rowindex, Left and Top) by the OnUpdate-Event.


The next time the user opens an e-mail, the commandbar is on its
correct position, but it seems the "E-Mail-Commandbar" does not like my
commandbar and take its position in the next row.

I think, the problem exists if my commandbar is positioned before the
"E-Mail-CommandBar" exists. At this time the Inspector is not visible.
How can I fix this problem? I tried to create my commandbar after the
inspector is opend but there are two problems: 1. It takes some time to
display the commandbar and 2. The commandbar always is floated :-(

How can I fix this problem? I searched some time in this newsgroups but
I didn`t find the right post.

Thanks for any suggestions!

--
EDV-Service Marchert
[Peter Marchert]

---------------------------------------
Homepage: http://www.marchert.de
Rufnummernformatierung mit EditNumbers
Kontakte per Mausklick mit ContactMaker


  #3  
Old October 10th 06, 05:37 PM posted to microsoft.public.outlook.program_vba
Peter Marchert
external usenet poster
 
Posts: 208
Default Problem with commandbar position and word as e-mail-editor

Hello Ken,

thanks for your answer. To wait for the first Word.WindowActivate event
I have at this time no time to test it, but perhaps in the future I
will try this - thanks.

Peter

Ken Slovak - [MVP - Outlook] schrieb:

You cannot control what addin gets a NewInspector event first, or an
Activate event within an Inspector event handler. You also can't control the
order in which addins are initialized in OnConnection when Outlooks starts
up. Those are non-deterministic events.

Some addins just put their widgets wherever they feel like putting them,
with no regard for other addins. Some don't even bother saving their last
known positions so they are re-created at the same place. Not much you can
do about that either.

WordMail adds extra problems because of the limits on where you can add
things or place things. About all you can do is wait for the first
Word.WindowActivate event to fire on the Inspector's WordMail window, that's
usually later than Inspector.Activate.

--
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Absolute Beginner's Guide to Microsoft Office Outlook 2003
Reminder Manager, Extended Reminders, Attachment Options
http://www.slovaktech.com/products.htm


"Peter Marchert" wrote in message
oups.com...
Hello together,

Situation: Writing a new e-mail with word as e-mail-editor. In this
e-mail there is a commandbar of my program.

A user position my commandbar in the same row as another commandbar
(for example the "E-Mail-CommandBar"). The positon of my commandbar
will be saved (Position, Rowindex, Left and Top) by the OnUpdate-Event.


The next time the user opens an e-mail, the commandbar is on its
correct position, but it seems the "E-Mail-Commandbar" does not like my
commandbar and take its position in the next row.

I think, the problem exists if my commandbar is positioned before the
"E-Mail-CommandBar" exists. At this time the Inspector is not visible.
How can I fix this problem? I tried to create my commandbar after the
inspector is opend but there are two problems: 1. It takes some time to
display the commandbar and 2. The commandbar always is floated :-(

How can I fix this problem? I searched some time in this newsgroups but
I didn`t find the right post.

Thanks for any suggestions!

--
EDV-Service Marchert
[Peter Marchert]

---------------------------------------
Homepage: http://www.marchert.de
Rufnummernformatierung mit EditNumbers
Kontakte per Mausklick mit ContactMaker


 




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
New Message Window Problem (word as editor) Tom at GSD Add-ins for Outlook 8 October 10th 06 04:11 PM
Problem using word as email editor Zaphod2003 Outlook and VBA 3 September 27th 06 02:29 AM
Using Word as E-mail Editor Kevin Outlook - General Queries 2 September 15th 06 02:14 AM
Custom CommandBar in Wordmail Editor. Sanjay Add-ins for Outlook 0 May 31st 06 10:11 PM
I cannot pick Word as my Outlook 2003 e-mail editor. pelican1960 Outlook - Installation 2 February 9th 06 10:59 PM


All times are GMT +1. The time now is 10:57 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.