Click here to Skip to main content
15,846,343 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: IoleUndoManager with Excel application Pin
David Crow6-Apr-15 8:50
David Crow6-Apr-15 8:50 
GeneralRe: IoleUndoManager with Excel application Pin
jaafar tribak6-Apr-15 14:14
jaafar tribak6-Apr-15 14:14 
QuestionCFileDialog gives error "C:Windows\system32\config\systemprofile\desktop refers to location not available........ Pin
N3KK5-Apr-15 22:06
N3KK5-Apr-15 22:06 
AnswerRe: CFileDialog gives error "C:Windows\system32\config\systemprofile\desktop refers to location not available........ Pin
Richard MacCutchan5-Apr-15 22:56
mveRichard MacCutchan5-Apr-15 22:56 
GeneralRe: CFileDialog gives error "C:Windows\system32\config\systemprofile\desktop refers to location not available........ Pin
N3KK5-Apr-15 23:16
N3KK5-Apr-15 23:16 
GeneralRe: CFileDialog gives error "C:Windows\system32\config\systemprofile\desktop refers to location not available........ Pin
Richard MacCutchan5-Apr-15 23:35
mveRichard MacCutchan5-Apr-15 23:35 
AnswerGot the solution for my problem...Re: CFileDialog gives error "C:Windows\system32\config\systemprofile\desktop refers to location not available........ Pin
N3KK12-Apr-15 21:07
N3KK12-Apr-15 21:07 
QuestionMFC CDialog hosting WPF components Pin
Member 88339813-Apr-15 2:40
Member 88339813-Apr-15 2:40 
Hi,

I'm integrating some some WPF controls into a MFC dialog box.

One of the control is a media player that shows live video.
The second one is a label that shows the current video time.

What I need is to have is the label on top of the media player. The label should only display the time, so its background needs to be transparent.

Right now, I have the video player running fine inside the dialog box, but I am unable to have the time displayed as I wish. It just overlap the video player.

Both WPF components were creating by following instructions from this link.
https://msdn.microsoft.com/en-us/library/ms742522(v=vs.110).aspx#hosting_a_wpf_page[^]

I try to set the label with a transparent background.
timeLabel->Background = gcnew System::Windows::Media::SolidColorBrush (System::Windows::Media::Colors::Transparent);

But the label background is shown black.
I also try to set the Transparent flag of the MFC CDialog to true, but it didn't have any effect.

How can I that fixed?
Do I need to set up something special when I instantiate the WPF controls?
Do I need to call some functions from inside the MFC dialog box?

Thanks,

Alain Migeon
SuggestionRe: MFC CDialog hosting WPF components Pin
David Crow3-Apr-15 4:22
David Crow3-Apr-15 4:22 
GeneralRe: MFC CDialog hosting WPF components Pin
Member 88339813-Apr-15 5:36
Member 88339813-Apr-15 5:36 
QuestionHow to download a file from URL without using curl or libcurl ..in c++.? Pin
mbatra312-Apr-15 0:42
mbatra312-Apr-15 0:42 
AnswerRe: How to download a file from URL without using curl or libcurl ..in c++.? Pin
Jochen Arndt2-Apr-15 1:17
professionalJochen Arndt2-Apr-15 1:17 
GeneralRe: How to download a file from URL without using curl or libcurl ..in c++.? Pin
mbatra316-Apr-15 22:44
mbatra316-Apr-15 22:44 
QuestionRe: How to download a file from URL without using curl or libcurl ..in c++.? Pin
David Crow2-Apr-15 5:04
David Crow2-Apr-15 5:04 
QuestionImplementing Finite State Machine using C++ Pin
Member 93502371-Apr-15 23:19
Member 93502371-Apr-15 23:19 
QuestionRe: Implementing Finite State Machine using C++ Pin
David Crow2-Apr-15 5:09
David Crow2-Apr-15 5:09 
AnswerRe: Implementing Finite State Machine using C++ Pin
CPallini2-Apr-15 7:31
mveCPallini2-Apr-15 7:31 
GeneralMessage Closed Pin
2-Apr-15 10:10
Member 93502372-Apr-15 10:10 
GeneralRe: Implementing Finite State Machine using C++ Pin
Sascha Lefèvre3-Apr-15 1:53
professionalSascha Lefèvre3-Apr-15 1:53 
Questionconst char error Pin
ForNow1-Apr-15 5:01
ForNow1-Apr-15 5:01 
AnswerRe: const char error Pin
Richard MacCutchan1-Apr-15 5:07
mveRichard MacCutchan1-Apr-15 5:07 
GeneralRe: const char error Pin
ForNow1-Apr-15 6:13
ForNow1-Apr-15 6:13 
GeneralRe: const char error Pin
Richard MacCutchan1-Apr-15 6:17
mveRichard MacCutchan1-Apr-15 6:17 
SuggestionRe: const char error Pin
David Crow1-Apr-15 6:13
David Crow1-Apr-15 6:13 
AnswerRe: const char error Pin
vishwadeepak mani tripathi2-Apr-15 9:05
vishwadeepak mani tripathi2-Apr-15 9:05 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.