PC Review Forums Newsgroups Microsoft Outlook Microsoft Outlook VBA Programming Placing/Positioning a CommandBar

Reply

Placing/Positioning a CommandBar

 
Thread Tools Rate Thread
Old 02-07-2005, 06:33 PM   #1
=?Utf-8?B?RGF2aWQ=?=
Guest
 
Posts: n/a
Default Placing/Positioning a CommandBar


Hello all,
I wrote a COM Add-In for OL2003 and defined a commandBar.
I create the CommandBar each time the OL launches but i would like to
preserve its location to what the user last used. Before exit OL i save the
..TOP and .LEFT into the registery and use that for the next launch. The read
values is correct but it seems that the CommandBar is placed in a different
TOP level. I have two CommandBars and it seems that each is placed in a
different line regardless of my initial setting.

Please help
Thanks
David
  Reply With Quote
Old 02-07-2005, 08:17 PM   #2
Sue Mosher [MVP-Outlook]
Guest
 
Posts: n/a
Default Re: Placing/Positioning a CommandBar

You need to save/set RowIndex and Position, as well as Top and Left.

--
Sue Mosher, Outlook MVP
Author of
Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers
http://www.outlookcode.com/jumpstart.aspx


"David" <David@discussions.microsoft.com> wrote in message news:FA797B74-95E5-4685-9C6F-619A926C81EE@microsoft.com...
> Hello all,
> I wrote a COM Add-In for OL2003 and defined a commandBar.
> I create the CommandBar each time the OL launches but i would like to
> preserve its location to what the user last used. Before exit OL i save the
> .TOP and .LEFT into the registery and use that for the next launch. The read
> values is correct but it seems that the CommandBar is placed in a different
> TOP level. I have two CommandBars and it seems that each is placed in a
> different line regardless of my initial setting.
>
> Please help
> Thanks
> David

  Reply With Quote
Reply



Thread Tools
Rate This Thread
Rate This Thread:

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