MDI Parent to MDI Children

MDI Parent to MDI Children

Post by Ray Willia » Sat, 25 Oct 2003 23:47:19


Given a MDI Client (Parent) handle what is the best way to
step through and retrive the handles of any MDI Children
that are active ?
 
 
 

MDI Parent to MDI Children

Post by Igor Tande » Sat, 25 Oct 2003 23:52:45


Only one MDI child can be active at a time, you get it with
WM_MDIGETACTIVE. If you want all MDI child windows, use GetWindow with
GW_CHILD and GW_HWNDNEXT options.
--
With best wishes,
Igor Tandetnik

"For every complex problem, there is a solution that is simple, neat,
and wrong." H.L. Mencken