Trapping move events

  • Thread starter Thread starter Lars Roland
  • Start date Start date
L

Lars Roland

Hi

I have a outlook COM addin that installes an extra toolbar in outlook.
This toolbar is created as an tempoary toolbar, because of this, outlook
can not remeber its position.

This creates problem if the user whant to move the toolbar to another
position, because he/she has to do this every time outlook starts. My
question is if I someway can trap the event when the user moves the
toolbar and save the new position in a registry entry and then when
outlook starts I can read this value and place the toolbar at the correct
position.



Regards

Lars Roland
 
All you really need to do is to query the toolbar position once, when your
addin is being destroyed (or when Explorer.Close event fires) and store the
position somewhere.

Dmitry Streblechenko (MVP)
http://www.dimastr.com/
OutlookSpy - Outlook, CDO
and MAPI Developer Tool
 
Back
Top