Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations biv343 on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by sodiumpaul

  1. sodiumpaul

    DirectShow multi panel

    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...
  2. sodiumpaul

    C# custom controls

    I'll give that ago. Thanks JurkMonkey
  3. sodiumpaul

    C# custom controls

    Forgot to add that each panel can take events from the Main Form. For example: resizing, load new feed/media etc.
  4. sodiumpaul

    C# custom controls

    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...
  5. sodiumpaul

    custom controls and dll's

    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...
  6. sodiumpaul

    custom controls and dll's

    there's some junk in this code, for example CleanUP() appears twice, and some unneeded declarations.
  7. sodiumpaul

    custom controls and dll's

    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...
  8. sodiumpaul

    custom controls and dll's

    private void button3_Click(object sender, EventArgs e) { panel1.Media_File = textBox1.Text; panel1.LoadMedia(); } private void button4_Click(object sender, EventArgs e) { panel1.Dispose(); }
  9. sodiumpaul

    custom controls and dll's

    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...
  10. sodiumpaul

    FindWindow c# Please Help Before I Cry

    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...
  11. sodiumpaul

    FindWindow c# Please Help Before I Cry

    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.
  12. sodiumpaul

    FindWindow c# Please Help Before I Cry

    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...
  13. sodiumpaul

    FindWindow c# Please Help Before I Cry

    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...
  14. sodiumpaul

    minimize form beyond 112 width?

    That's excellent! Thank you so much.
  15. sodiumpaul

    FindWindow c# Please Help Before I Cry

    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.

Part and Inventory Search

Back
Top