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
»
how to prevent XMAX OnStatus to overwrite the window status message?
Pages:
1
« previous
next »
Print
Author
Topic: how to prevent XMAX OnStatus to overwrite the window status message? (Read 1267 times)
achu
Member
Posts: 39
how to prevent XMAX OnStatus to overwrite the window status message?
«
on:
April 20, 2010, 10:48:54 AM »
Is there a way "NOT" to write message to window.status bar?
OnStauts event will overwrite other useful/debugging messages displayed in the window status bar.
XMAX 5.5
Logged
Derek Read
Program Manager (XMetaL)
Administrator
Member
Posts: 1550
Re: how to prevent XMAX OnStatus to overwrite the window status message?
«
Reply #1 on:
April 26, 2010, 02:26:16 PM »
I assume because you mention "window.status" you have XMAX sitting in an <OBJECT> in an HTML page loaded into IE?
XMAX shouldn't be doing anything to IE that you don't want it to. It has no idea which application it is embedded inside and so there is no direct communication with any specific IE properties even if that is the container application. Setting these types of properties, including "window.status" should be done with script, so I would look around inside your solution for a script that is setting this property.
Logged
achu
Member
Posts: 39
Re: how to prevent XMAX OnStatus to overwrite the window status message?
«
Reply #2 on:
April 26, 2010, 02:42:49 PM »
That's what I thought initially.
After taking "window.status" out from the script in my XMAX application, some status messages, such as importing 5% and turns rules checking on, still take place in IE windows status bar.
«
Last Edit: April 26, 2010, 02:44:30 PM by achu
»
Logged
Derek Read
Program Manager (XMetaL)
Administrator
Member
Posts: 1550
Re: how to prevent XMAX OnStatus to overwrite the window status message?
«
Reply #3 on:
April 26, 2010, 04:53:15 PM »
You are correct, there are messages pumped specifically to IE (my mistake). I've created a completely bare test sample and can reproduce this. However, to the best of my understanding there will be no way to override these because we have no APIs designed for that purpose as far as I know.
I'm checking to see if someone here knows when those messages stop. I'm assuming it is once the document has successfully loaded, otherwise, I can't see a reason for implementing XMAX's "OnStatus" event (ie: I think it makes sense that you should be able to decide when to send messages up to IE, if at all, and where to send them).
Logged
Derek Read
Program Manager (XMetaL)
Administrator
Member
Posts: 1550
Re: how to prevent XMAX OnStatus to overwrite the window status message?
«
Reply #4 on:
April 26, 2010, 05:21:02 PM »
Looks like this was an old design concept to provide some default capabilities when XMAX is embedded in a host application that supports a status propery (which includes IE). It saves you having to write the code that connects the two but unfortunately it also means you don't have control over it.
We'll re-evaluate this functionality for a future release but as of our current versions (up to and including 6.0) there isn't really anything you can do to alter this behavior.
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...
email us