Getting the window handle number from...

Getting the window handle number from...

Postby HunterEC » Thu Dec 04, 2008 4:04 am

Is there a way to get the window handle number from a Clipper 16 bit app ? Thank you.
HunterEC
 
Posts: 723
Joined: Tue Sep 04, 2007 8:45 am

Postby driessen » Thu Dec 04, 2008 9: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. 24.07 - Harbour 3.2.0 (February 2024) - xHarbour Builder (January 2020) - Bcc773
User avatar
driessen
 
Posts: 1422
Joined: Mon Oct 10, 2005 11:26 am
Location: Genk, Belgium

Postby HunterEC » Thu Dec 04, 2008 2: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 ?
HunterEC
 
Posts: 723
Joined: Tue Sep 04, 2007 8:45 am


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 90 guests