M
Marcolino
Hi all,
I have an MDI container and some child.
I need to retrive Form Object from its handle, but it seems that for
MDI child the following code i'm using is not working and will return
me always nothing:
i variable is an integer containing the handle of a for I want to get,
and frmPostIt is my child
Dim frm As frmPostIt
frm = System.Windows.Forms.Form.FromHandle(i)
with this code applied to an MDI child will always return frm=Nothing,
but works with normal form.
Do you have any suggestion?
Many Thanks
I have an MDI container and some child.
I need to retrive Form Object from its handle, but it seems that for
MDI child the following code i'm using is not working and will return
me always nothing:
i variable is an integer containing the handle of a for I want to get,
and frmPostIt is my child
Dim frm As frmPostIt
frm = System.Windows.Forms.Form.FromHandle(i)
with this code applied to an MDI child will always return frm=Nothing,
but works with normal form.
Do you have any suggestion?
Many Thanks