Page 1 of 1

Activex in Dialog

PostPosted: Fri Jun 20, 2008 4:48 pm
by Euclides
Hi to all!.
I cannot make an Activex application run o a dialog.
It runs only in a window. Am i missing something ?
TIA
Euclides

PostPosted: Fri Jun 20, 2008 6:22 pm
by Antonio Linares
Euclides,

You have a working sample in:
fwh\samples\gmapd.prg and gmapd.rc

PostPosted: Fri Jun 20, 2008 6:25 pm
by Antonio Linares
You may also review:

fwh\samples\webexp2.prg and webexp2.rc

Modify this line this way:
ACTIVATE DIALOG oDlg CENTERED ;
ON INIT oActiveX:Do( "Navigate2", "http://www.google.com" )

PostPosted: Fri Jun 20, 2008 10:34 pm
by Euclides
Thanks Antonio.
There are so many samples and I inserted more. Is getting hard to follow all of them.
Regards,
Euclides

PostPosted: Sat Jun 21, 2008 9:03 am
by Antonio Linares
Euclides,

We don't remember all FWH examples contents, but we use a file manager (Total commander) that lets you search for file extension and a text, so we search "REDEFINE ACTIVEX" in *.prg and find all ocurrences :-)

That way we can easily locate an example we are looking for :-)