Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- M E W E L - <b>hwnd pascal getwindow(hwnd hwnd, word wcmd)</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
HWND pascal GetWindow(HWND hWnd, WORD wCmd)
         <MS Windows equivilant>

  This function traverses the window manager list for a window which
bears a certain relationship to the passed window.

Parameters
  hWnd is the "anchor point"  which the search starts at.
  wCmd can be one of the following :
        GW_HWNDFIRST    - first sibling of a window
        GW_HWNDLAST     - last sibling of a window
        GW_HWNDPREV     - previous window on the window manager list
        GW_HWNDNEXT     - next window on the window manager list
        GW_OWNER                - owner window (the parent)
        GW_CHILD                - first child of a window

Returns
  The handle of the found window, or NULLHWND if no window matched the
criteria.

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson