Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Outlook / Programming Add-Ins / April 2004

Tip: Looking for answers? Try searching our database.

How can i save & restore the exact position of my custom toolbar?

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Dieter Verlaeckt - 28 Apr 2004 09:01 GMT
Hi,

I'm developing a COM-addin in VC++ .NET using ATL/MFC.

An easy question this time :)

Is there an easy way to save & restore the position of a custom toolbar
created by my addin?

I know that i can make the toolbar permanent, but then i have the find a way
to remove it from Outlook from my addin's uninstaller (Is there an easy way
to do that without visibly opening Outlook?).

TIA

Dieter
Ken Slovak - [MVP - Outlook] - 28 Apr 2004 15:13 GMT
Always create it as temporary. Otherwise you are just asking for problems.

In your shut down code before the toolbar is destroyed (whether in Outlook
shut down or shut down of an Explorer or Inspector with that toolbar) save
the Position, Top and Left properties somewhere like an INI file or in the
registry and retrieve that information when your code is run again.

Signature

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

> Hi,
>
[quoted text clipped - 12 lines]
>
> Dieter
Dieter Verlaeckt - 30 Apr 2004 15:57 GMT
Thx, just what i needed..

Dieter

> Always create it as temporary. Otherwise you are just asking for problems.
>
[quoted text clipped - 21 lines]
> >
> > Dieter
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.