Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.clipper.visual-objects > #6719
| Subject | Re: transfer focus to Office |
|---|---|
| From | Camille Kater <katercam@pt.lu> |
| Date | 2014-03-28 14:03 +0100 |
| Message-ID | <1396012637_5@vo.lu> (permalink) |
| References | <72116452-155a-45d1-867f-c8d9b09e8e80@googlegroups.com> <661195ef-7d31-4516-8e16-ef17348782b6@googlegroups.com> |
| Newsgroups | comp.lang.clipper.visual-objects |
Henry,
FindWindow requires 2 parameters:
HWND FindWindow(
LPCTSTR lpClassName,
// pointer to class name
LPCTSTR lpWindowName
// pointer to window name
);
Window name = caption of the window
You can Write:
FindWindow(NULL_PSZ,String2Psz(<Window caption>)
Camille
On 28/03/2014 11:14, H_Fidler@yahoo.com wrote:
> Giorgio, thanks for the answer.
>
> I tried:
> nHandle := FindWindow(String2Psz("Excel.exe"))
>
> And I received a compiler error:
> Actual parameter is missing or default value not specified.
>
> Thanks for any help.
>
> Henry
>
Back to comp.lang.clipper.visual-objects | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
transfer focus to Office H_Fidler@yahoo.com - 2014-03-20 05:03 -0700
Re: transfer focus to Office "Willie Moore" <williem@wmconsulting.com> - 2014-03-21 09:05 -0500
Re: transfer focus to Office H_Fidler@yahoo.com - 2014-03-21 14:53 -0700
Re: transfer focus to Office Giorgio <ngpollarolo@hotmail.com> - 2014-03-21 15:59 -0700
Re: transfer focus to Office Giorgio <ngpollarolo@hotmail.com> - 2014-03-21 16:03 -0700
Re: transfer focus to Office H_Fidler@yahoo.com - 2014-03-28 03:14 -0700
Re: transfer focus to Office Camille Kater <katercam@pt.lu> - 2014-03-28 14:03 +0100
Re: transfer focus to Office H_Fidler@yahoo.com - 2014-03-31 04:58 -0700
Re: transfer focus to Office Frans Wauters <info@wautersit.com> - 2014-03-31 06:29 -0700
Re: transfer focus to Office Giorgio <ngpollarolo@hotmail.com> - 2014-03-31 13:36 -0700
Re: transfer focus to Office H_Fidler@yahoo.com - 2014-04-04 12:54 -0700
csiph-web