Solved

Playing Avi in Full Screen

Posted on 1998-12-30
5
181 Views
Last Modified: 2010-04-04
How can I play an avi in full screen, not by changing rezolution or setting multi-media properties of the system, nor by using DisplayRect of TMultiMedia component, but in a Alt-Enter MovieControl manner. Thank you.
0
Comment
Question by:xalian
  • 2
  • 2
5 Comments
 
LVL 20

Expert Comment

by:Madshi
Comment Utility
I think there was something like DirectMovie. I'm not sure. Perhaps you'll find something on "www.microsoft.com".

Regards, Madshi.
0
 
LVL 17

Expert Comment

by:inthe
Comment Utility
if your using mci to play movie there's a command
show maximized which plays the movie fullscreen
Regards Barry
0
 
LVL 17

Expert Comment

by:inthe
Comment Utility
that is
 window state (value)
 values are:
    hide
    minimize
    maximize
    restore
    show
    show maximized
    show minimized
    show min noactive
    show noactivate
    show na      
    show normal


0
 
LVL 1

Accepted Solution

by:
duke_n earned 100 total points
Comment Utility
put a mediaplayer on a form,set his autoopen property to true and put this in ONcreate event of the form(let's say the name is form1):


procedure TForm1.FormCreate(Sender: TObject);
begin
form1.bordericons:=[];
form1.windowstate:=wsmaximized;
form1.borderstyle:=bsnone;
form1.caption:='';
mediaplayer1.visible:=false;
mediaplayer1.filename:='d:\dir_name\file_name.avi';
mediaplayer1.display:=form1;
mediaplayer1.displayrect:=form1.clientrect;
mediaplayer1.play;
end;


I've tried the code. It takes a bit time to load,but it worx.
0
 
LVL 1

Expert Comment

by:duke_n
Comment Utility
WHOOOPS, sorry.
I didn't see that you didn't want TMediaPlayer
0

Featured Post

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Objective: - This article will help user in how to convert their numeric value become words. How to use 1. You can copy this code in your Unit as function 2. than you can perform your function by type this code The Code   (CODE) The Im…
In my programming career I have only very rarely run into situations where operator overloading would be of any use in my work.  Normally those situations involved math with either overly large numbers (hundreds of thousands of digits or accuracy re…
This video discusses moving either the default database or any database to a new volume.
Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…

762 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

6 Experts available now in Live!

Get 1:1 Help Now