ActiveX question?

User avatar
Antonio Linares
Site Admin
Posts: 37481
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Post by Antonio Linares »

Richard,

That was fixed on a past FWH build.

Please email me your sample code and we will build it here.
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Taiwan
Posts: 218
Joined: Fri Oct 07, 2005 1:55 am
Location: Taipei, Taiwan
Contact:

Post by Taiwan »

Antonio,

Ok. I'll send to you.

Richard
User avatar
Antonio Linares
Site Admin
Posts: 37481
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Post by Antonio Linares »

Richard,

Tested and working ok using "OWC11.Spreadsheet"
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Taiwan
Posts: 218
Joined: Fri Oct 07, 2005 1:55 am
Location: Taipei, Taiwan
Contact:

Post by Taiwan »

Antonio Linares wrote:Richard,

Tested and working ok using "OWC11.Spreadsheet"
Antonio,

Yes, it's working within Dialog.

But I use some 3rd party ActiveX to help my customer.

Any idea or suggestion?

Richard
User avatar
Antonio Linares
Site Admin
Posts: 37481
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Post by Antonio Linares »

What OCX is it ?
regards, saludos

Antonio Linares
www.fivetechsoft.com
areang
Posts: 128
Joined: Mon Jul 31, 2006 3:23 pm

Post by areang »

Enrico,

Thank to reply about timer on dialog
I missing to add oTmr:hWndOwner := oDlg:hWnd

Now work fine.

How about OCX with DIALOG ?


Best Regard
Areang
User avatar
Enrico Maria Giordano
Posts: 7355
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia
Contact:

Post by Enrico Maria Giordano »

areang wrote:Enrico,

Thank to reply about timer on dialog
I missing to add oTmr:hWndOwner := oDlg:hWnd

Now work fine.

How about OCX with DIALOG ?


Best Regard
Areang
I don't know, sorry.

EMG
User avatar
Antonio Linares
Site Admin
Posts: 37481
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Post by Antonio Linares »

Areang,

> How about OCX with DIALOG ?

We have tested it and it works fine.
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Taiwan
Posts: 218
Joined: Fri Oct 07, 2005 1:55 am
Location: Taipei, Taiwan
Contact:

Post by Taiwan »

Antonio Linares wrote:What OCX is it ?
Antonio,

Please visit this web.
http://www.officeocx.com/OfficeActiveX.htm

Richard
User avatar
Taiwan
Posts: 218
Joined: Fri Oct 07, 2005 1:55 am
Location: Taipei, Taiwan
Contact:

Post by Taiwan »

Hello Antonio,

Could you try Play GIF ActiveX within Resource Dialog?
Could you fix this problem?

Regards,

Richard
User avatar
Antonio Linares
Site Admin
Posts: 37481
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Post by Antonio Linares »

Richard,

The animated GIF is properly working on a dialog, though the OCX control does not paint very well (it paints a strange border around).
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Taiwan
Posts: 218
Joined: Fri Oct 07, 2005 1:55 am
Location: Taipei, Taiwan
Contact:

Post by Taiwan »

Antonio Linares wrote:Richard,

The animated GIF is properly working on a dialog, though the OCX control does not paint very well (it paints a strange border around).
Antonio,

So how to do it? or any suggestion or solution?

Richard
User avatar
Antonio Linares
Site Admin
Posts: 37481
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Post by Antonio Linares »

Richard,

You may ask the OCX manufacturer. We have noticed the same strange behavior with Visual Basic. This is the working code:

Code: Select all

#include "FiveWin.ch"

Function TestActiveX_Dlg()   

   LOCAL oDlg, oActiveX

   DEFINE WINDOW oDlg

   @ 1, 1 ACTIVEX oActiveX OF oDlg ;
      PROGID "ANIMATEDGIF.AnimatedGifCtrl.1"        

   oActiveX:Do( "AnimatedGif", "world.gif" )
   oActiveX:Do( "Play" )
   
   ACTIVATE WINDOW oDlg
      
RETURN NIL
And here you have an AVI file:
http://hyperupload.com/download/0230e60 ... d.zip.html
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
Posts: 37481
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Post by Antonio Linares »

regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Taiwan
Posts: 218
Joined: Fri Oct 07, 2005 1:55 am
Location: Taipei, Taiwan
Contact:

Post by Taiwan »

Antonio Linares wrote:Here you have the EXE:
http://hyperupload.com/download/02ea275 ... X.zip.html
Antonio,

But I test some ActiveX( maybe OCX ) components,
Define Window work OK, but Resource Dialog not work.

I just think why Window OK, Resource Dialog not OK

Richard
Post Reply