[Question]Details about Initialization Sequence

Add-in Express™ Support Service
That's what is more important than anything else

[Question]Details about Initialization Sequence
 
Sven Heitmann




Posts: 193
Joined: 2004-08-23
hi

in my addin, i have to hide some basic controls from word/excel and i have to layout some buttons into builtin commandbars at a specific position... so i would like to hide the controls i have to and get the positions where my buttons should go... but that have to happen before adx will create the bars...

my question is, is AddinInitialize fired before adx will create/update the commandbars/commandbarcontrols?

Best regards,

Sven Heitmann
Posted 26 Aug, 2004 11:48:02 Top
Eugene Starostin


Guest


The AddinInitialize event is fired before ADX creates command bars. Here you can add your own command bars and/or controls to built-in command bars. The AddinStartupComplete event is fired after ADX creates command bars.

But both events are fired when add-in hostapps are completely loaded (including their command bars). That's why you can use both events to reorganize built-in command bars. To reorganize your own command bars I suggest to use the first event. In this case ADX simply creates renewed command bars.
Posted 26 Aug, 2004 12:42:48 Top
Sven Heitmann




Posts: 193
Joined: 2004-08-23
thank you =)
Best regards,

Sven Heitmann
Posted 27 Aug, 2004 01:45:35 Top