How to place VLC output window in MFC Rich EDit Control in vc++ ?

This forum is about all development around libVLC.
chamanlata
Blank Cone
Blank Cone
Posts: 17
Joined: 19 Feb 2019 06:16

How to place VLC output window in MFC Rich EDit Control in vc++ ?

Postby chamanlata » 05 Mar 2019 06:00

I am using libvlc using vc++. I am trying to place the VLC output window in MFC Rich Edit Control Window.

libvlc_media_player_set_xwindow (my_player,Id_Preview_Window); where Id_Preview_Window is the Id of this window

Please help !!

mfkl
Developer
Developer
Posts: 739
Joined: 13 Jun 2017 10:41

Re: How to place VLC output window in MFC Rich EDit Control in vc++ ?

Postby mfkl » 06 Mar 2019 04:15

That API is for linux. Try libvlc_media_player_set_hwnd
https://mfkl.github.io

chamanlata
Blank Cone
Blank Cone
Posts: 17
Joined: 19 Feb 2019 06:16

Re: How to place VLC output window in MFC Rich EDit Control in vc++ ?

Postby chamanlata » 06 Mar 2019 04:50

Yes,got it .

Code: Select all

libvlc_media_player_set_hwnd
worked for me.

Thanks!!

chamanlata
Blank Cone
Blank Cone
Posts: 17
Joined: 19 Feb 2019 06:16

Re: How to place VLC output window in MFC Rich EDit Control in vc++ ?

Postby chamanlata » 06 Mar 2019 04:52

Is there any command to play the video in Background in MFC Window in vc++ ?

mfkl
Developer
Developer
Posts: 739
Joined: 13 Jun 2017 10:41

Re: How to place VLC output window in MFC Rich EDit Control in vc++ ?

Postby mfkl » 06 Mar 2019 08:18

Not sure what "in the background" means. Please explain
https://mfkl.github.io

chamanlata
Blank Cone
Blank Cone
Posts: 17
Joined: 19 Feb 2019 06:16

Re: How to place VLC output window in MFC Rich EDit Control in vc++ ?

Postby chamanlata » 07 Mar 2019 05:37

hello,
I am working in MFC Vc++ . I have two Static Editor window in which I am sending text and text is displaying on that window. But I want in the background view it plays the video and send a text will display on the video. Right now My video is playing on the top and text is hidden behind the video. So please how can I play video in background view so that text is displayed on video screen.

Rémi Denis-Courmont
Developer
Developer
Posts: 15266
Joined: 07 Jun 2004 16:01
VLC version: master
Operating System: Linux
Contact:

Re: How to place VLC output window in MFC Rich EDit Control in vc++ ?

Postby Rémi Denis-Courmont » 07 Mar 2019 11:14

How you stack and blend your windows is beyond the scope of LibVLC. LibVLC only draws video in the window that you give to it. Please refer to the documentation or help for your GUI toolkit, i.e. MFC.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

chamanlata
Blank Cone
Blank Cone
Posts: 17
Joined: 19 Feb 2019 06:16

Re: How to place VLC output window in MFC Rich EDit Control in vc++ ?

Postby chamanlata » 07 Mar 2019 11:24

ok .is there any command in vlc library to disable the "Always display on top" functionality?

Rémi Denis-Courmont
Developer
Developer
Posts: 15266
Joined: 07 Jun 2004 16:01
VLC version: master
Operating System: Linux
Contact:

Re: How to place VLC output window in MFC Rich EDit Control in vc++ ?

Postby Rémi Denis-Courmont » 09 Mar 2019 20:45

It is disabled by default.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded


Return to “Development around libVLC”

Who is online

Users browsing this forum: No registered users and 13 guests