I am building an application that uses multiple panels in a Form to playback diffrent media sources. This all works well except that when a panel loads a new file from disc the other windows block for about a second. The code I'm using is pretty standard. I suppose I need to load the files on...
I've created a collection of customer panels. Each panel plays different media types (video, flash Scrolling Banners etc). The Main Form starts each of the panels as a user selects them. They all play happily together. However, when a panel reloads media from disc or, in the case of the RSS...
I've deleted a CleanUp() statement just after -> m_objMediaPosition.CurrentPosition = 0; in CleanUP().
But this is not the problem.
The bit I find of most interest, is that the audio carries on until the end of the media even after you've disposed of the panel. I get the feeling I'm being...
using System;
using System.ComponentModel;
using System.Windows.Forms;
using QuartzTypeLib;
namespace CustomPanel
{
public partial class ResizablePanel : Panel
{
private const int WM_APP = 0x8000;
private const int WM_GRAPHNOTIFY = WM_APP + 1;
private...
I've created a custom panel control in c# that uses the quartz DLL (using QuartzTypeLib;). I have a form that allows you to set the location and size of the panel/panels within the form which then plays a video with in this panel. This all works well ( I have 4 panels that are all playing videos...
Thanks all. I didn't explain things well enough, sorry.
In the end I used events as I needed to change the label text in the event the main screen was resized.
All your help, however, was very useful and will find its way into my "How To" docs.
Thanks again.
This info is very valuable to a...
Yes they are.
The resizing event on form1 needs to display as text in a label on form2, the resolution that form1 has taken up as a result of detecting an extended desktop.
Many thanks.
No, I understand, this is all down to being a newby, I guess.
The main form, on start up, resizes itself to fit screen resolution (Primary or Virtual screen). I have a label in the float form (form2) that will display the resolution that the main form has set it's self to as an event (dependent...
Sorry about the repetition as I've pasted this from one of my posts to a friend.
Here's the real problem. I'm making an app that has a floating toolbox (a separate form, not child). I'm trying to get the handle of a label component on the toolbox form. However at compile, the class name changes...
It turns out that I can get the handle of all components on all other forms, just not the one I've authored. I can, however, get the form handle of the app I've authored.
Any ideas?
Many thanks.
I've been trying to get the handle of a Button within my application. The main form launches another form ( floating toolBox).
I've used the following code with the Ms Calc app to prove this code works - it does:
int hwnd;
int comp;
hwnd = FindWindow(null, "Calculator");
comp =...
Hi,
I had the same problem a few weeks back. JurkMonkey's advice was the only way I found to do this. May I ask(I am a newby), I also wish to create a floating menu (photoshop style), I was going to use a shared array between forms to carry any values set by the floating menu. Is this the way...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.