L
Lars Roland
Hi
I am using an addin that creates a new commandbar in Outlook (running
OL2000). I have a position inside outlook where I want this commandbar to
be placed as default, this position has the folowing properties
---------------------
Position := msoBarTop
Left := 781
Top := 23
---------------------
If I hard code this into my addin like this:
---------------------
Set cbrNewToolbar = golApp.ActiveExplorer.CommandBars.Add _
(Name:=cmdName, Position:=msoBarTop, Temporary:=True)
cbrNewToolbar.Left = 781
cbrNewToolbar.Top = 23
---------------------
Then the commandbar get placed in the folowing position inside outlook
---------------------
Position := msoBarTop
Left := 781
Top := 23
---------------------
I find this very confusing because the position I have hardcoded in my
code is a valid position (I have created an button on the commandbar that
will print the commandbars curent position, so I know! for sure that the
coordinates are legal).
Is there some sort of limit inside outlook, that cause my settings to be
overwritten ? or can I force it to do what I want in some way ?
Thanks in advace
Regards
Lars Roland
I am using an addin that creates a new commandbar in Outlook (running
OL2000). I have a position inside outlook where I want this commandbar to
be placed as default, this position has the folowing properties
---------------------
Position := msoBarTop
Left := 781
Top := 23
---------------------
If I hard code this into my addin like this:
---------------------
Set cbrNewToolbar = golApp.ActiveExplorer.CommandBars.Add _
(Name:=cmdName, Position:=msoBarTop, Temporary:=True)
cbrNewToolbar.Left = 781
cbrNewToolbar.Top = 23
---------------------
Then the commandbar get placed in the folowing position inside outlook
---------------------
Position := msoBarTop
Left := 781
Top := 23
---------------------
I find this very confusing because the position I have hardcoded in my
code is a valid position (I have created an button on the commandbar that
will print the commandbars curent position, so I know! for sure that the
coordinates are legal).
Is there some sort of limit inside outlook, that cause my settings to be
overwritten ? or can I force it to do what I want in some way ?
Thanks in advace
Regards
Lars Roland