Well, let me focus on some issues I have with scripting.
First of all, I already reported it on the BETA testing forums (see
[FixMe] Scripts: Colorization with Mosaic) but apparently no-one had a look at it yet:
quote:
An ImageElement with a Mosaic set to something like ResizeToFit doesn't get its colorization applied. This is very annoying when you have an image which you want as a background for a whole area, but you also want it to match the window color.
The code I'm using:
xml code:
<!-- Images: Me-Area Preview -->
<Element xsi:type="ImageElement" Id="ImgMeMain">
<Position Left="12" Top="5" Width="568" Height="129">
<Anchor Horizontal="LeftRightFixed" Vertical="BottomFixed"/>
<Units>AllPixels</Units>
</Position>
<Image>
<Name>mearea-main</Name>
</Image>
<Mosaic>ResizeToFit</Mosaic>
<Colorization Enable="true">
<Color><GlobalColor>ref</GlobalColor></Color>
</Colorization>
</Element>
Second thing: What can we do with DataBloc.WriteInterfacePtr? Any working example code we can play with? As I think I might need it for an
IEnumString interface implementation when I create an
IAutoComplete interface.
Thirdly: Can you give us some way we can add events in run-time? This would be interesting for classes, so a developer can simply say "here's my window, now get it working" without him/her having to add things in their window events for it to work. Possibly make something like:
jscript code:
var fCtrlClickEvent = function(PlusWnd, CtrlId) {
if(CtrlId === "BtnThis") {
myClass.doThis(PlusWnd);
}
};
PlusWnd.AddEvent("CtrlClicked", fCtrlClickEvent);
.NET languages can add event handlers by simply doing:
code:
this.myButton.Click += new System.EventHandler(this.myButton_Click);
and it would be cool if we had something with the same concept to work with. I know you can't do that with the += operator in JScript, but you get the idea.
Fourthly: We need a way to dynamically create controls (and elements) in a window. This would allow us to do cool things like breadcrumb navigations.
Fifthly: While we're busy, what about an implementation for MenuButtonControls and CodeEditControls? And what are those ArcChunk, BezierChunk, LineChunk and PathChunk elements for anyway?