Hello
toni...@fwi wrote:
>
> Viktor, TActiveX from FWH works in this way:
>
> ---cut---
> hActiveX = FWH_CreateActiveX()
> hObj = FWH_AtlAxGetDisp( hActiveX )
> oOle = ToleAuto():New( hObj )
> ---cut---
>
> If you replace hbwin now, TActiveX FWH will be broken.
>
Similar is the approach in GTWVG.
Instead of
oOle = ToleAuto():New( hObj )
GTWVG calls
::hObj := HB_AX_AtlAxGetControl( "ATLAXWin", ::hContainer, ::CLSID,
::nID, ;
::aPos[ 1 ], ::aPos[ 2 ], ::aSize[ 1 ],
::aSize[ 2 ], ;
::style, ::exStyle, NIL, @hx, @pUnk )
/* Required as to AddRef() to self */
TOleAuto():New( ::hObj )
First ActiveX control is created then it is presented as an Object.
Regards
Pritpal Bedi
--
View this message in context:
http://www.nabble.com/SF.net-SVN%3A-harbour-project%3A-10977--trunk-harbour-tp23369919p23378973.html
Sent from the Harbour - Dev mailing list archive at Nabble.com.
_______________________________________________
Harbour mailing list
[email protected]
http://lists.harbour-project.org/mailman/listinfo/harbour