same window

andrei_l

New Member
Hello,

Let's say that I have a window and a button. When I press the button, I want to run an extrenal procedure but in the same window. How do I do that?

Thank you!
 

mra

Junior???? Member
What do you want the external procedure to do?

If you want GUI widgets to appear in the window, how about sending the frame handle to the external procedure, and then creating the widgets dynamically!

Regards
Mike :)
 

NickA

Member
Suppress the window of the procedure you're calling.. the frame then gets inserted into the current window.

You'll have problems with tab order though, so you might have to pass the widget you want to move in front of as a handle, then use MOVE-BEFORE to move your frame in front.
 
Top