How to get a pointer of a specific child frame window in a MDI application if I have open more child frame windows?
C / C++ / MFC
2
Posts
2
Posters
0
Views
1
Watching
-
:)How to get a pointer of a specific child frame window in a MDI application if I have open more child frame windows? sude
There are multiple way to achieve this. Enumerate all windows and check with
CWnd::IsChild
, useCWnd::GetWindow
with parameter GW_CHILD, useCWnd::FindWindow
, this will all depend on the criteria that makes the child window you search different from the others (the name, the ID, ...) ~RaGE();