has wrong, "MoviePlayer.pb" need add HideWindow(0, 0), for s

Just starting out? Need help? Post your questions and find answers here.
User avatar
gurj
Enthusiast
Enthusiast
Posts: 664
Joined: Thu Jan 22, 2009 3:48 am
Location: china
Contact:

has wrong, "MoviePlayer.pb" need add HideWindow(0, 0), for s

Post by gurj »

has wrong, "MoviePlayer.pb" need add HideWindow(0, 0), for show Movie and image
"Examples\Sources - Advanced\MoviePlayer\MoviePlayer.pb"
line112:
PlayMovie(0, WindowID(0))
for show Movie and image, need changed to:
PlayMovie(0, WindowID(0)):HideWindow(0, 0)
my pb for chinese:
http://ataorj.ys168.com
infratec
Always Here
Always Here
Posts: 6866
Joined: Sun Sep 07, 2008 12:45 pm
Location: Germany

Re: has wrong, "MoviePlayer.pb" need add HideWindow(0, 0), f

Post by infratec »

Works here without problem. No HideWindow() needed.
Dude
Addict
Addict
Posts: 1907
Joined: Mon Feb 16, 2015 2:49 pm

Re: has wrong, "MoviePlayer.pb" need add HideWindow(0, 0), f

Post by Dude »

Works here. Probably a video driver issue.
User avatar
gurj
Enthusiast
Enthusiast
Posts: 664
Joined: Thu Jan 22, 2009 3:48 am
Location: china
Contact:

Re: has wrong, "MoviePlayer.pb" need add HideWindow(0, 0), f

Post by gurj »

thanks and sorry, my winxp is a reducing version, size is 700 mb only.
my is winxp x86 pb5.61, let MoviePlayer open a *.asf or *.bmp or *.wmv

now i restart winxp, line112 need changed to:
PlayMovie(0, WindowID(0)):v=-v
ResizeWindow(0,#PB_Ignore, #PB_Ignore,WindowWidth(0)+v,#PB_Ignore)

and first need line72 changed to:
Volume = 100:v=1
my pb for chinese:
http://ataorj.ys168.com
Post Reply