Click here to Skip to main content
15,884,176 members
Home / Discussions / WPF
   

WPF

 
QuestionProper way to do MouseDoubleClick in MVVM Pin
David Ceder13-Apr-15 3:17
David Ceder13-Apr-15 3:17 
AnswerRe: Proper way to do MouseDoubleClick in MVVM Pin
Mycroft Holmes13-Apr-15 14:34
professionalMycroft Holmes13-Apr-15 14:34 
AnswerRe: Proper way to do MouseDoubleClick in MVVM Pin
SledgeHammer0114-Apr-15 5:02
SledgeHammer0114-Apr-15 5:02 
AnswerRe: Proper way to do MouseDoubleClick in MVVM Pin
Pete O'Hanlon14-Apr-15 6:09
mvePete O'Hanlon14-Apr-15 6:09 
QuestionHow can we change date in datepicker on selecting different country culture in combo box in MVVM? Pin
Member 1142836713-Apr-15 0:05
Member 1142836713-Apr-15 0:05 
AnswerRe: How can we change date in datepicker on selecting different country culture in combo box in MVVM? Pin
Pete O'Hanlon13-Apr-15 0:42
mvePete O'Hanlon13-Apr-15 0:42 
GeneralRe: How can we change date in datepicker on selecting different country culture in combo box in MVVM? Pin
Member 1142836714-Apr-15 18:16
Member 1142836714-Apr-15 18:16 
QuestionMFC CDialog hosting WPF components Pin
Member 88339813-Apr-15 4:34
Member 88339813-Apr-15 4:34 
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

PS This question has also been asked in "C / C++ / MFC" forum.
QuestionDataGridComboBoxColumn - Combo Doesn't Show Pin
Kevin Marois1-Apr-15 8:57
professionalKevin Marois1-Apr-15 8:57 
AnswerRe: DataGridComboBoxColumn - Combo Doesn't Show Pin
Mycroft Holmes1-Apr-15 14:23
professionalMycroft Holmes1-Apr-15 14:23 
AnswerRe: EF Autoupdate Pin
Mycroft Holmes1-Apr-15 14:18
professionalMycroft Holmes1-Apr-15 14:18 
GeneralRe: EF Autoupdate Pin
Mycroft Holmes6-Apr-15 12:38
professionalMycroft Holmes6-Apr-15 12:38 
QuestionWPF migration frame work 3.5 to 4.5 framework Pin
karthikchinnu30-Mar-15 8:37
karthikchinnu30-Mar-15 8:37 
AnswerRe: WPF migration frame work 3.5 to 4.5 framework Pin
Gerry Schmitz30-Mar-15 11:43
mveGerry Schmitz30-Mar-15 11:43 
AnswerRe: WPF migration frame work 3.5 to 4.5 framework Pin
Praveen Raghuvanshi5-Apr-15 7:18
professionalPraveen Raghuvanshi5-Apr-15 7:18 
QuestionWPF Image Edit Control Required Pin
TheBabbler26-Mar-15 22:18
TheBabbler26-Mar-15 22:18 
AnswerRe: WPF Image Edit Control Required Pin
Gerry Schmitz30-Mar-15 11:35
mveGerry Schmitz30-Mar-15 11:35 
GeneralRe: WPF Image Edit Control Required Pin
TheBabbler30-Mar-17 2:49
TheBabbler30-Mar-17 2:49 
GeneralRe: WPF Image Edit Control Required Pin
Gerry Schmitz30-Mar-17 6:52
mveGerry Schmitz30-Mar-17 6:52 
QuestionVS2012 Start Page Template Pin
Kevin Marois19-Mar-15 10:29
professionalKevin Marois19-Mar-15 10:29 
AnswerRe: VS2012 Start Page Template Pin
Afzaal Ahmad Zeeshan25-Mar-15 3:52
professionalAfzaal Ahmad Zeeshan25-Mar-15 3:52 
AnswerRe: VS2012 Start Page Template Pin
Richard MacCutchan25-Mar-15 5:39
mveRichard MacCutchan25-Mar-15 5:39 
GeneralRe: VS2012 Start Page Template Pin
zephaneas25-Mar-15 5:47
zephaneas25-Mar-15 5:47 
GeneralRe: VS2012 Start Page Template Pin
Richard MacCutchan25-Mar-15 6:29
mveRichard MacCutchan25-Mar-15 6:29 
GeneralRe: VS2012 Start Page Template Pin
zephaneas25-Mar-15 6:34
zephaneas25-Mar-15 6:34 

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.