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 |
|
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. |
|
Sven Heitmann
Posts: 193
Joined: 2004-08-23
|
thank you =)Best regards,
Sven Heitmann |
|