How to hide child forms when main form minimizes


Author
Message
Marcel Heitlager
Marcel Heitlager
StrataFrame User (202 reputation)StrataFrame User (202 reputation)StrataFrame User (202 reputation)StrataFrame User (202 reputation)StrataFrame User (202 reputation)StrataFrame User (202 reputation)StrataFrame User (202 reputation)StrataFrame User (202 reputation)StrataFrame User (202 reputation)
Group: StrataFrame Users
Posts: 84, Visits: 835
Hi guys,

Can't figure this one out.  I'm running a vfp app in .net app using DartSock.  The VFP forms show in the desktop (but not in toolbar) instead of the .net MDI form, so I can show them in seperate monitors if I need to.

The only problem is (and I noticed this too when I use only .net forms), when I minimize the parent form, the children don't minimize along with it.

How could I override the wndProc sub of the .net form, so I can capture the minimize/maximize button click on the main form?  I can't figure out which value in m tells me the form has minimized. I know that once I can capture that, I can hadle the child forms through API calls.

Thanks.

Marcel

GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...





Similar Topics

Reading This Topic

Login

Explore
Messages
Mentions
Search