Click here to Skip to main content
15,912,329 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: LoadLibrary and GetProcAddress Help Pin
Mark Salsbery8-Jul-07 9:03
Mark Salsbery8-Jul-07 9:03 
AnswerRe: LoadLibrary and GetProcAddress Help Pin
dontknowitall8-Jul-07 9:10
dontknowitall8-Jul-07 9:10 
QuestionRe: LoadLibrary and GetProcAddress Help Pin
Hamid_RT8-Jul-07 19:43
Hamid_RT8-Jul-07 19:43 
AnswerRe: LoadLibrary and GetProcAddress Help Pin
vegito6168-Jul-07 20:10
vegito6168-Jul-07 20:10 
GeneralRe: LoadLibrary and GetProcAddress Help Pin
Mark Salsbery9-Jul-07 8:43
Mark Salsbery9-Jul-07 8:43 
GeneralRe: LoadLibrary and GetProcAddress Help Pin
vegito6169-Jul-07 23:23
vegito6169-Jul-07 23:23 
GeneralRe: LoadLibrary and GetProcAddress Help Pin
Mark Salsbery10-Jul-07 5:37
Mark Salsbery10-Jul-07 5:37 
QuestionRedraw Child Windows in ActiveX Control Pin
dkmr8-Jul-07 5:53
dkmr8-Jul-07 5:53 
Hello,

Here's my problem:

I have an ActiveX control which has the functionality of a video player. After integrating it in my MFC dialog, when I play the video, if I drag the dialog out from the screen, or maximize it, or drag some other dialog over it, the ActiveX control doesn't redraw its child windows properly.

More exactly, it's about two DirectX child windows which are created for playing the video. One is a DirectX output window and one is the video overlay. Instead redrawing them corectly (video frames playing) I get the area filled with the MFC dialog's background. Setting Clip Siblings to true in the MFC dialog's properties doesn't help much. Indeed, I don't have the area filled with the background but the redraw of the ActiveX windows isn't still made properly (it's a mess .. background mixed with video or something else.. )

I managed to get the handles of the two DirectX windows and tried various solutions starting from calling Invalidate for the entire control to WinAPI calls to RedrawWindow on the handles (and others). Nothing seems to make the video output windows repaint themselves after being covered with something else.

I need to mention that I don't have any experience with DirectX or with ActiveX/COM besides using controls.

If someone can give me a hint for a solution many many thanks in advance.

AnswerRe: Redraw Child Windows in ActiveX Control Pin
Bogdan Apostol8-Jul-07 9:07
Bogdan Apostol8-Jul-07 9:07 
GeneralRe: Redraw Child Windows in ActiveX Control Pin
dkmr8-Jul-07 10:47
dkmr8-Jul-07 10:47 
GeneralRe: Redraw Child Windows in ActiveX Control Pin
Bogdan Apostol8-Jul-07 10:55
Bogdan Apostol8-Jul-07 10:55 
GeneralRe: Redraw Child Windows in ActiveX Control Pin
dkmr8-Jul-07 11:15
dkmr8-Jul-07 11:15 
AnswerRe: Redraw Child Windows in ActiveX Control Pin
Bogdan Apostol8-Jul-07 15:17
Bogdan Apostol8-Jul-07 15:17 
QuestionWindbg Pin
tom groezer8-Jul-07 0:08
tom groezer8-Jul-07 0:08 
AnswerRe: Windbg [modified] Pin
mid=57418-Jul-07 0:20
mid=57418-Jul-07 0:20 
GeneralRe: Windbg Pin
tom groezer8-Jul-07 6:07
tom groezer8-Jul-07 6:07 
GeneralRe: Windbg Pin
Randor 8-Jul-07 7:19
professional Randor 8-Jul-07 7:19 
GeneralRe: Windbg Pin
David Crow9-Jul-07 3:07
David Crow9-Jul-07 3:07 
AnswerRe: Windbg Pin
Mike Dimmick8-Jul-07 11:51
Mike Dimmick8-Jul-07 11:51 
QuestionPostMessage Pin
tom groezer7-Jul-07 23:06
tom groezer7-Jul-07 23:06 
AnswerRe: PostMessage Pin
mid=57418-Jul-07 0:13
mid=57418-Jul-07 0:13 
AnswerRe: PostMessage Pin
Bogdan Apostol8-Jul-07 0:38
Bogdan Apostol8-Jul-07 0:38 
GeneralRe: PostMessage Pin
tom groezer8-Jul-07 4:54
tom groezer8-Jul-07 4:54 
GeneralRe: PostMessage Pin
mid=57419-Jul-07 5:30
mid=57419-Jul-07 5:30 
QuestionRe: PostMessage Pin
jbalaji849-Aug-07 21:18
jbalaji849-Aug-07 21:18 

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.