I'm looking for anyone who has done this kind of thing before.
I want to create an opening window with c %cw imbedded as a child. As the program initializes, the %cw will show any configuration errors. I also use this for debugging.
I used %sc to have the program init code run when the window was being created. However, the %cw wasn't 'active', so didn't accept the data being written to it.
I have though of two possibilities; perhaps there are more.
One would be to set a timer to expire and that expiration would initiate the initialization. I then set the timer delay to a long time in the future so it doesn't expire again. In this way (I think), the main window is fully created and can accept data written into the %cw.
The other would be to use %lw to have the window created, then run the init code. At the end, it just sits in a loop, sleeping and yielding program control.
For me, either way is acceptable, but perhaps there is a different way.
Thoughts?