Thanks again for your assistance on this matter! I really appreciate it!
Now, here is what I'm trying to do. The app i'm calling is the VLC player. It must play a certain video while my application do another stuff.
My app has only one Form, which is the Main form. It is not modal, but borderstyle is set to bsNone and windowstate is wsMaximized.
When my app is called, it hides everything, including Windows task bar, which is the desired effect for this application. Now, when I call the VLC player, the focus change to it and the task bar reappears. Here is an interesting thing: When I click on the main window of my app, the focus go back to it and the task bar is hidden again. Here it is the paramaters for the VLC call:
VLCParametros := '-I dummy --dummy-quiet --no-embedded-video --no-video-deco --video-on-top --no-video-title-show ' +
'--video-title="VLC" ' +
'--video-x=' + IntToStr(927) + ' ' +
'--video-y=' + IntToStr(Image2.Top) + ' ' +
'--width=' + IntToStr(Image2.Width) + ' ' +
'--height=' + IntToStr(Image2.Height) + ' ' +
'--volume=200 ' +
'"' + video + '"';
Oh, one more thing. Before you suggest I use the PasLibVlc let me tell you that I've tried that but, unfortunately, it seems that component needs a little more work. Why? Well, the application crashes after a few minutes playing the video. So, I had to search for a new approach for the problem.
Once again, thank you for your replies.
May the Lord bless you all.
