Re: How to get Parent of Focus



On Tue, 20 May 2008 07:15:48 -0700, orangecat@xxxxxxxxxxxx wrote:

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.

I would suggest that you try using an appropriate group. This really
has nothing to do with third party controls.

You just need to use the GetParent method in windows.

--
Marc Rohloff [TeamB]
marc -at- marc rohloff -dot- com
.