Is there a way to Edit or Open a Picture control at Runtime?
Posted on 2004-04-23
In VB6: When I select Project / Components, go to the Insertable Objects tab, and tick "Bitmap Image" (MSPAINT.exe), then click on the "Picture" icon on the Palette & draw one on my Form...
At Design Time, I can right-click that Picture control and select Edit, and voila! I can draw free-form right in the picture! Or I can right-click and Open to bring up MSPAINT and edit it with all the Paint features, and when I close, the changes are copied back to the form. That's great, but...
How do I do that at RUNTIME?
I want to include a little drawable area in my form, at least with freeform drawing and ability to enter and position your own text. I can handle saving and loading that bitmap to/from a file at the appropriate times.
But how do I talk to that MSPAINT.EXE invocation that seems to be loaded??
Or is there another Control or OCX that would let me do that?
Thanks in advance if you can help!