Here it is a working sample:
- Code: Select all Expand view RUN
#include "FiveWin.ch"
function Main()
local oWnd, oActiveX1, oActiveX2
DEFINE WINDOW oWnd TITLE "FiveWin multiple ActiveX support"
oActiveX1 = TActiveX():New( oWnd, "Shell.Explorer" )
oActiveX1:Move( 10, 10, 220, 220 )
oActiveX1:Do( "GoHome" )
oActiveX2 = TActiveX():New( oWnd, "MediaPlayer.MediaPlayer.1" )
oActiveX2:Move( 10, 240, 220, 220 )
ACTIVATE WINDOW oWnd
return nil