Re: TShockwaveFlash Activex



Hi,

Now I found out what can be a solution :)

It works perfectly, the only thing that doesn't is that while resizing
it does not update the form, but its good for me :)

Heres the code (shortened exampled):
--------------------------------------------------------------
unit untFrmMain;

interface

uses blabla;

type
TfrmMain = class(TForm)
procedure WMExitSizeMove(var AMsg:TMessage); message
WM_EXITSIZEMOVE;
end;

implementation

procedure TfrmMain.WMExitSizeMove(var AMsg: TMessage);
begin
inherited;
// WMP is Windows Media Player here
WMP.DoObjectVerb(-1);
end;

end.
--------------------------------------------------------------

Please reply! Would be nice.

AniMatrix


dvddude schreef:

HI everyone,

I have imported the TShockWaveflash activeX control into Delphi 7 so that my
application can play a flash movie.

Now everything works fine until i resize the form at runtime. The flash
control take the original size of the form, and stays at that size
regardless. The extra area formclient area just doesn't repaint and stays
looking like the desktop beneath it.

The TShockWaveFlash component has its Align property set to alClient.

I have tried invalidating both the for and the shockwave component inside
the form's OnResize event, but this doesn't help either.

Does anyone know why the shockwaveflash component will not resize to fill
the client area?

Thanks

Vertuas

.



Relevant Pages

  • TShockwaveFlash Activex
    ... I have imported the TShockWaveflash activeX control into Delphi 7 so that my ... application can play a flash movie. ... Now everything works fine until i resize the form at runtime. ... I have tried invalidating both the for and the shockwave component inside ...
    (comp.lang.pascal.delphi.misc)
  • Re: TShockwaveFlash Activex
    ... I have imported the TShockWaveflash activeX control into Delphi 7 so that my ... application can play a flash movie. ... Now everything works fine until i resize the form at runtime. ... I have tried invalidating both the for and the shockwave component inside ...
    (comp.lang.pascal.delphi.misc)