PC Review
Forums
Newsgroups
Microsoft Outlook
Microsoft Outlook VBA Programming
Trapping move events
Forums
Newsgroups
Microsoft Outlook
Microsoft Outlook VBA Programming
Trapping move events
![]() |
Trapping move events |
|
|
Thread Tools | Rate Thread |
|
|
#1 |
|
Guest
Posts: n/a
|
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 |
|
|
|
#2 |
|
Guest
Posts: n/a
|
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 "Lars Roland" <roland@diku.dk> wrote in message news:Pine.LNX.4.58.0408091045001.16563@brok.diku.dk... > 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 |
|
|
|
#3 |
|
Guest
Posts: n/a
|
Ofcause, that will make it much simpler - thank you
On Mon, 9 Aug 2004, Dmitry Streblechenko (MVP) wrote: > 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 > > > "Lars Roland" <roland@diku.dk> wrote in message > news:Pine.LNX.4.58.0408091045001.16563@brok.diku.dk... > > 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 > > > |
|
![]() |
|
| Thread Tools | |
| Rate This Thread | |
|
|

Main Page 

