Re: TShockwaveFlash Activex
- From: AniMatrix84@xxxxxxxxx
- Date: 12 Oct 2006 13:24:13 -0700
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
.
- References:
- TShockwaveFlash Activex
- From: dvddude
- TShockwaveFlash Activex
- Prev by Date: Re: Link my help file to my application install path
- Next by Date: Re: TShockwaveFlash Activex
- Previous by thread: Re: TShockwaveFlash Activex
- Next by thread: Re: TShockwaveFlash Activex
- Index(es):
Relevant Pages
|