title: How to get the list of controls from the window in Visual C++?
body: <p>How to get the list of the controls from the window, specified by "FindWindow" function? For example I have a handle to the Notepad window by</p>
  
  <pre><code>HWND Window = FindWindow(L"Notepad", L"dummy.txt - Notepad");
  </code></pre>
  
  <p>then I can make a handle to an "Edit" control by</p>
  
  <pre><code>HWND WindowEX = FindWindowEx(Window, NULL, L"EDIT", NULL);
  </code></pre>
  
  <p>but how can I get a full list of the controls and record them in the array for example?</p>