BorlandTalk.com Forum Index BorlandTalk.com
Borland discussion newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Update AxtiveX component region

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> C++ Builder (VCL Components Usage)
View previous topic :: View next topic  
Author Message
René Schouten
Guest





PostPosted: Fri Jun 24, 2005 9:16 am    Post subject: Update AxtiveX component region Reply with quote



Hi,
I'm using BCB5 i installed the activeX component TWindowsMediaPlayer.

On my form i placed the component WindowsMediaPlayer1. In the object
inspector i did set the following options:
Width=50
Height =50

I create a button which triggers the following code:
WindowsMediaPlayer1->Width=100;
WindowsMediaPlayer1->Height =100;
WindowsMediaPlayer1->Refresh();
WindowsMediaPlayer1->Repaint();

When i run the program and press the button, the WindowsMediaPlayer sizes do
change, but the actual playing region still is the old 50x50.

How can i force to update the actual playing region in the button code?

Thanks in advance

René


Back to top
René Schouten
Guest





PostPosted: Mon Jun 27, 2005 11:49 am    Post subject: Re: Update AxtiveX component region Reply with quote



Nobody any suggestion?
Or should a post in another newsgroup?

René

"René Schouten" <reneschouten (AT) seldi (DOT) nl> schreef in bericht
news:42bbcf5d (AT) newsgroups (DOT) borland.com...
Quote:
Hi,
I'm using BCB5 i installed the activeX component TWindowsMediaPlayer.

On my form i placed the component WindowsMediaPlayer1. In the object
inspector i did set the following options:
Width=50
Height =50

I create a button which triggers the following code:
WindowsMediaPlayer1->Width=100;
WindowsMediaPlayer1->Height =100;
WindowsMediaPlayer1->Refresh();
WindowsMediaPlayer1->Repaint();

When i run the program and press the button, the WindowsMediaPlayer sizes
do
change, but the actual playing region still is the old 50x50.

How can i force to update the actual playing region in the button code?

Thanks in advance

René




Back to top
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> C++ Builder (VCL Components Usage) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.