any way to programmatically dismiss a modal form?
-
I need to dismiss a modal form (HAS to be modal by limitation of my circumstances). Then I want to update progressbar info in it, then reshow it. unload doesnt work. Form sits there stubbornly...ANy way to kill it? Thanks, ns
Have you used the
visible
, orhide
property I think it is? Which way are you referencing your form, are you usingUnload me
orUnload form1
? Nick Parker
**So like children pointers should be left to grown ups. - Norm Alomond
**
-
Have you used the
visible
, orhide
property I think it is? Which way are you referencing your form, are you usingUnload me
orUnload form1
? Nick Parker
**So like children pointers should be left to grown ups. - Norm Alomond
**
Unload form1 because its being done in a class function, so I didnt think I could use me. Hide and Unload wont work. It needs manual intervention. I abandomned that idea and doing sendmessage instead. BTW, what is the counterpart of an MFC HWnd? I am sending in a handle to a window from VC to the dll so it can sendmessage back. Whats my VB function parameter to be? MyVBFunc(HandleFromnVc as ?) Thanks, ns
-
Unload form1 because its being done in a class function, so I didnt think I could use me. Hide and Unload wont work. It needs manual intervention. I abandomned that idea and doing sendmessage instead. BTW, what is the counterpart of an MFC HWnd? I am sending in a handle to a window from VC to the dll so it can sendmessage back. Whats my VB function parameter to be? MyVBFunc(HandleFromnVc as ?) Thanks, ns
I think you can pass it as a
Long
. Nick Parker
**So like children pointers should be left to grown ups. - Norm Alomond
**