How to get Parent of Focus



Hi,

I am using GetWindowText(winCurrFocus... and it is returning "OK"
which is the Caption of the default button on the dialog.

How can I get the Title of the dialog that has that button on it? As
in the Parent of that OK button.

Thanks in advance.


--

Gary C.
.