Re: Vel and hidden windows
- Posted by Gary Dumer <dumer9354 at MY-DEJA.COM> Sep 29, 1999
- 401 views
Hi Greg, Greg Harris wrote: >I have a question. I need to subclass a window in VEL program (yes, I have a subclassing library wrote) to pick up custom events I need to program. > >I would like to make a hidden window in an include file. Can I do this without having the id of the main form and can I use the ShowWindow command to hide the window in the include file before the main program opens (This is something like the hidden window in all VB programs) If I understand you correctly... you want to define (ie. CreateControl) a secondary window (form) in an include file and not have it displayed until you're ready to? First, forms are not owned by any other control, so you don't need to know the id of the main form to create a secondary form. Second, forms are not shown until you execute the ShowForm command, however, you shouldn't try to show the secondary form before the main form (look at the example in Demo4.exw). So... if my suppositions are correct, yes, you CAN do what you suggest. Gary.