Solved How to check if Window is derived from Class?

General discussion forum about all things Team Developer 7.x
memic
Germany
Posts: 19
Joined: 07 Mar 2017, 08:51
Location: Germany

How to check if Window is derived from Class?

Post by memic » 04 Dec 2017, 13:47

Having a Window Handle how can I check if it is derived from a specific class?

I found this Funktion but cannot use it on Window Handles: SalObjIsDerived( object, sClassName)
Last edited by memic on 04 Dec 2017, 14:44, edited 1 time in total.

EwaldP
Austria
Posts: 57
Joined: 07 Mar 2017, 08:00
Location: Austria

Re: How to check if Window is derived from Class?

Post by EwaldP » 04 Dec 2017, 14:40

Please check:
bOk = SalWindowIsDerivedFromClass( hWnd, ClassName )

Regards
Ewald
Ewald P. Palmetshofer
EDV-Hausleitner GmbH
4020 Linz
www.edv-hausleitner.at

memic
Germany
Posts: 19
Joined: 07 Mar 2017, 08:51
Location: Germany

Re: How to check if Window is derived from Class?

Post by memic » 04 Dec 2017, 14:43

Thanks!!

I must have been blind :lol:

Return to “General Discussion”

Who is online

Users browsing this forum: Ccbot [Crawler] and 1 guest