I have six windows that can all generate a dialog box. The dialog box needs to know which of the six windows generated it. I believe I should be able to call GetParent(hWnd)