Re: "One shot" mode in SampleGrabber doesn't work

Tech-Archive recommends: Fix windows errors by optimizing your registry



On Mon, 8 Sep 2008 08:34:01 -0700, lserlohn wrote:

I
don't want to add a message loop in my main program, so is there any way to
do such function without event or call back, or is it possible to warp a
message loop inside a class? any other options?

You can write a transform filter which grabs the samples and passes them to
a separate filter graph with a custom source filter. It's a lot more work.


--
Please read this before replying:
1. Dshow & posting help: http://tmhare.mvps.org/help.htm
2. Trim & respond inline (please don't top post or snip everything)
3. Benefit others: follow up if you are helped or you found a solution
.



Relevant Pages

  • Re: Modal dialog box question
    ... >Isn't there a way to take control of the message loop of the dialog, ... > filter the events that I want to the main application? ... How is the user to know which menu commands can ...
    (microsoft.public.vc.mfc)
  • Re: PeekMessage & Filtered Nested Message Pumps?
    ... The unknown ones you're presumably suspecting may occur by adding a ... message loop to filter and process some messages and not others. ... you won't envisage until they bite you hard. ...
    (microsoft.public.win32.programmer.ui)
  • Re: Message Filters & ShowDialog
    ... I was just about to get down and dirty in ApplicationEx V 1.2!! ... > The Form.ShowDialog has its own message loop, hence there is no way to ... >> WM_LBUTTONDOWN after going into system idle. ... >> going into system idle then I am not consuming the message and my filter ...
    (microsoft.public.dotnet.framework.compactframework)
  • Re: Message Filters & ShowDialog
    ... In the ApplicationEx class I have implemented the ShowDialog method which opens a form in the modal message loop without IMessageFilter ignorance. ... Using OpenNETCF's ApplicationEx and registering on system power events I have written a small message filter class to consume the first WM_LBUTTONDOWN after going into system idle. ...
    (microsoft.public.dotnet.framework.compactframework)
  • Re: Adding Unregisterd Filters To The Graph
    ... What don't you understand about this statement "Please trim and quote ... You just add the filter to the graph. ... Trim & respond inline ...
    (microsoft.public.win32.programmer.directx.video)