how to get handle and use it?

  • Thread starter Thread starter Jared
  • Start date Start date
J

Jared

Again me
Can anyone tell me how to get a handle of a form and
using that handle show it?
I have MDI application where child forms are all instances of one form.
Since I cannot give then individual names, only solution that I could think
of are handles. So, when child is minimized, it just becomes hidden, but
it's internal name is placed into listbox, so that user can click on it to
re-display hidden form. Now, all I need is how to get a handle of form (from
within it), and how to use handle to show the form.
Thx
 
You could also place the HashCode value of each form in the
listbox as the value member and then find the form using the
HashCode by checking the MDI parents MdiChildren property
collection.
 
Back
Top