if you are a human please do not click here
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email?
Username :
Password :
Home
Help
Calendar
Register
Login
XMetaL Community Forums
»
General
»
General XMetaL Discussion
»
On_Default_CommandBars_Complete confusions
Pages:
1
« previous
next »
Print
Author
Topic: On_Default_CommandBars_Complete confusions (Read 1032 times)
achu
Member
Posts: 39
On_Default_CommandBars_Complete confusions
«
on:
April 19, 2010, 12:33:16 PM »
There are some confusing descriptions in the programmer's manual. Can you elaborate what those properties and methods cause unpredictable behavior are?
In one place:
"Some properties and methods that are called from inside the On_Default_CommandBars_Complete event macro may result in unpredictable behavior, including XMetaL crashes. "
another place:
"The On_Default_CommandBars_Complete event macro is a good place to carry out Command Bar customizations."
Logged
Derek Read
Program Manager (XMetaL)
Administrator
Member
Posts: 1550
Re: On_Default_CommandBars_Complete confusions
«
Reply #1 on:
April 19, 2010, 02:12:38 PM »
The documentation should state something to the effect that calling any API that displays a dialog should not be done inside On_Default_CommandBars_Complete. You should also not open a document during this event, so do not use Documents.Open or other similar APIs.
This event is really generally only meant for making changes to "Command Bars" (ie: menus and toolbars).
I'll raise this with our documentation people.
«
Last Edit: April 19, 2010, 02:14:10 PM by Derek Read
»
Logged
Pages:
1
Print
« previous
next »
Jump to:
Please select a destination:
-----------------------------
General
-----------------------------
=> Forum Information
=> General XMetaL Discussion
=> DITA and XMetaL Discussion
=> XMetaL Tips and Tricks
=> XMetaL Announcements and Events
Loading...