We are using a third party media player in our windows MDI form. Our form has a lot of controls.When assigning source file to this media player (which takes a little long time) intermittently our form disappears for a moment and then reappears with the new media file shown in the media player.Any workaround or solution ?
According to your description, I think the issue is more related to the third part media player. You might get help from their forum.
Anyway, could you please share the code with us? It would help us to detect the issue.
Bob Wu [MSFT]
MSDN Community Support | Feedback to us
Hello Bob , thanks for your reply. The thing is we are using a third party media player. When i assign the source file to be displayed, it takes a long time and we have other threads running at the same time.So may be that is the reason that i am getting a flash because many processes run at the same time and one process is taking a long time. I have asked them but they are also unable to solve. Do you know of any work around ..like even if this source assigning process may take a long time without hampering the design (causing flashing) ?
thirdpartyclass.sourcefile = "C:/test.jpg" (it is the line of code that takes long time)
Arup Kumar Behera