Oh, I found hOs.dll easier than MDX. The help file is excellent, clicked on right away. I prefer hOs.dll for status bars to MDX because you'd need another DLL to dock the dialog. Where as you've got one command to create and dock and the second command to create the panels andthe third to insert progress bar at will.
Here's something that may help you.
alias hOs {
if ($1 == Make) {
dll hOS.dll AddStatusBar noxptheme sizegrip
dll hOS.dll SBSetPanels 300 -1
dll hOS.dll AddProgressBar 1 noxptheme
}
if ($1 == Destroy) {
dll hOS.dll RemStatusBar
}
if ($1 == Setpos) {
dll hOS.dll PBSetPos $2 $3 0 $4
}
if ($1 == Colour) {
dll hOS.dll PBSetColors $2 $rgb(255,0,0) $rgb(0,255,0)
}
}
/hOs make creates a status bar with the first panel 300 pixels. Creates the progress bar also.
/hos destroy - Removes the Status Bar.
/hOs setpos:
Sets the Progress Bar Positions.
/hOs SetPos <Panel Number> <Postion> <Out of...>
Example:
/hOs setpos 1 50 100 - Sets the position half way on panel number 1.
/hOs Colour <Panel Number>
Hope this makes life easier for anyone.
All the best,
-Andy