Click here to Skip to main content
15,887,214 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: IoleUndoManager with Excel application Pin
David Crow6-Apr-15 7:50
David Crow6-Apr-15 7:50 
GeneralRe: IoleUndoManager with Excel application Pin
jaafar tribak6-Apr-15 13:14
jaafar tribak6-Apr-15 13:14 
QuestionCFileDialog gives error "C:Windows\system32\config\systemprofile\desktop refers to location not available........ Pin
N3KK5-Apr-15 21:06
N3KK5-Apr-15 21:06 
AnswerRe: CFileDialog gives error "C:Windows\system32\config\systemprofile\desktop refers to location not available........ Pin
Richard MacCutchan5-Apr-15 21:56
mveRichard MacCutchan5-Apr-15 21:56 
GeneralRe: CFileDialog gives error "C:Windows\system32\config\systemprofile\desktop refers to location not available........ Pin
N3KK5-Apr-15 22:16
N3KK5-Apr-15 22:16 
GeneralRe: CFileDialog gives error "C:Windows\system32\config\systemprofile\desktop refers to location not available........ Pin
Richard MacCutchan5-Apr-15 22:35
mveRichard MacCutchan5-Apr-15 22: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 20:07
N3KK12-Apr-15 20:07 
QuestionMFC CDialog hosting WPF components Pin
Member 88339813-Apr-15 1:40
Member 88339813-Apr-15 1: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 3:22
David Crow3-Apr-15 3:22 
GeneralRe: MFC CDialog hosting WPF components Pin
Member 88339813-Apr-15 4:36
Member 88339813-Apr-15 4:36 
QuestionHow to download a file from URL without using curl or libcurl ..in c++.? Pin
mbatra311-Apr-15 23:42
mbatra311-Apr-15 23:42 
AnswerRe: How to download a file from URL without using curl or libcurl ..in c++.? Pin
Jochen Arndt2-Apr-15 0:17
professionalJochen Arndt2-Apr-15 0:17 
GeneralRe: How to download a file from URL without using curl or libcurl ..in c++.? Pin
mbatra316-Apr-15 21:44
mbatra316-Apr-15 21:44 
QuestionRe: How to download a file from URL without using curl or libcurl ..in c++.? Pin
David Crow2-Apr-15 4:04
David Crow2-Apr-15 4:04 
QuestionImplementing Finite State Machine using C++ Pin
Member 93502371-Apr-15 22:19
Member 93502371-Apr-15 22:19 
QuestionRe: Implementing Finite State Machine using C++ Pin
David Crow2-Apr-15 4:09
David Crow2-Apr-15 4:09 
AnswerRe: Implementing Finite State Machine using C++ Pin
CPallini2-Apr-15 6:31
mveCPallini2-Apr-15 6:31 
GeneralMessage Closed Pin
2-Apr-15 9:10
Member 93502372-Apr-15 9:10 
GeneralRe: Implementing Finite State Machine using C++ Pin
Sascha Lefèvre3-Apr-15 0:53
professionalSascha Lefèvre3-Apr-15 0:53 
Questionconst char error Pin
ForNow1-Apr-15 4:01
ForNow1-Apr-15 4:01 
AnswerRe: const char error Pin
Richard MacCutchan1-Apr-15 4:07
mveRichard MacCutchan1-Apr-15 4:07 
GeneralRe: const char error Pin
ForNow1-Apr-15 5:13
ForNow1-Apr-15 5:13 
GeneralRe: const char error Pin
Richard MacCutchan1-Apr-15 5:17
mveRichard MacCutchan1-Apr-15 5:17 
SuggestionRe: const char error Pin
David Crow1-Apr-15 5:13
David Crow1-Apr-15 5:13 
AnswerRe: const char error Pin
vishwadeepak mani tripathi2-Apr-15 8:05
vishwadeepak mani tripathi2-Apr-15 8: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.