Re: How to get Parent of Focus
- From: "Marc Rohloff [TeamB]" <marc@xxxxxxxxxxxxxxxxxxxxxx>
- Date: Tue, 20 May 2008 11:06:30 -0400
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
.
- Follow-Ups:
- Re: How to get Parent of Focus
- From: Keith
- Re: How to get Parent of Focus
- From: orangecat
- Re: How to get Parent of Focus
- References:
- How to get Parent of Focus
- From: orangecat
- How to get Parent of Focus
- Prev by Date: Re: Looking for "Hint" expert
- Next by Date: TopGrid for Delphi 2007?
- Previous by thread: How to get Parent of Focus
- Next by thread: Re: How to get Parent of Focus
- Index(es):