FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour Getting the window handle number from...
Posts: 723
Joined: Tue Sep 04, 2007 08:45 AM
Getting the window handle number from...
Posted: Thu Dec 04, 2008 04:04 AM

Is there a way to get the window handle number from a Clipper 16 bit app ? Thank you.

Posts: 1467
Joined: Mon Oct 10, 2005 11:26 AM
Getting the window handle number from...
Posted: Thu Dec 04, 2008 09:06 AM
Hello,

Maybe this topic might help you.

http://forums.fivetechsoft.com/viewtopic.php?t=13803

You'll find the function FindWnd("WORD") to find the window handle number of a Word window. You only need to replace "WORD" by the name of the Clipper 16 bit application.

Good luck.

Regards,

Michel D.
Genk (Belgium)


_____________________________________________________________________________________________

I use : FiveWin for (x)Harbour v. 25.12 - Harbour 3.2.0 (May 2025) - xHarbour Builder (January 2020) - Bcc773

Posts: 723
Joined: Tue Sep 04, 2007 08:45 AM
Getting the window handle number from...
Posted: Thu Dec 04, 2008 02:27 PM

Driessen:

Thank you for your help. The problem is that the 16bit app can be opened multiple times (with the same caption). So basically getting the window handle via the FindWnd(app name) will not gaurantee to get back to the calling program. Any ideas ?

Continue the discussion