I’m fascinated by how the IDE draws the native windows and controls in the UI designer. Are they actual windows and widgets somehow shoe horned into the app or are they just accurately drawn on a canvas?
I ask for two reasons:
1). Shear curiosity as a programmer
2). I’ve been toying around with a wireframing/prototyping app and getting some insight as to how Xojo do it would be great.
So when you say desktop controls are drawn using DrawInto do you mean they are just cleverly crafted images drawn to a canvas or are there declares that provide the image of a button/popupmenu, etc that you can then render?
Finally got round to playing with this. If you literally cut and paste the example from (RectControl.DrawInto) it works but the drawn control is blurry. I’m guessing this is a HiDPI issue. Is there something special that needs to be done to render the control crisply?
Now, if you could rephrase the title of this discussion to a useful one that actually tells us what it’s talking about, such as “How does the IDE draw controls in the UI designer”, making a bookmark of it would actually help finding this later again when I ever get to add this feature to Arbed