|
Decoding JPEG and encoding MPEG-1 is a long topic.
There's plenty of ways built-in to Windows to decode JPEG but for encoding MPEG there's none
because of licensing.
Maybe search Google for open-source/free MPEG-1 encoders - or maybe you can write your own
Mark
"Great job, team. Head back to base for debriefing and cocktails."
(Spottswoode "Team America")
|
|
|
|
|
Hi all,
How can i send a Message from One Class to Another Class using
::SendMessage(...) Api.
I want to Send a Message.
(i.e)
In one.cpp file i want to Send a Message that message must Call Function in the Second.cpp file.
how can i pass a String Value to the Second File(second.cpp) from First File(one.cpp).
Please help me out.
Uday kiran
|
|
|
|
|
uday kiran janaswamy wrote: How can i send a Message from One Class to Another Class using
Send message is not used to send messages between classes but to send a message to a specific window. If your class is not managing a window, then you cannot send a message to it.
|
|
|
|
|
hi Cedric,
Please let me know how to send a message from One Window to Another Window.
Uday kiran
|
|
|
|
|
I think this[^] is what you are looking for.
|
|
|
|
|
uday kiran janaswamy wrote:
Please let me know how to send a message from One Window to Another Window.
IMHO please use WM_COPYDATA to String and othe complex data between two window .. example[^]
|
|
|
|
|
uday kiran janaswamy wrote: Please let me know how to send a message from One Window to Another Window.
Use SendMessage() or PostMessage() .
"Approved Workmen Are Not Ashamed" - 2 Timothy 2:15
"Judge not by the eye but by the heart." - Native American Proverb
|
|
|
|
|
Dear David,
Thank you very much.
Uday kiran
|
|
|
|
|
Hi,
I'm creating an ActiveX control which will function like a combobox but instead dropdown a treeview (ie. CComboTree:COleControl). For stage one, i will only suppport the Dropdown style. I like to know how i can work out and set the maximum height of the combobox (ie. the editbox and button) to the current font height in the PreCreateWindow() function, just like a standard windows combobox does.
Thanks,
Lee
|
|
|
|
|
Hello Geeks,
We have AdRotator Control that can be used on Web Forms to display an Advertisement (Ad).
Is there any other similar control that can help me to display Advertisement on Windows form or Dialog box.
What I am trying to accomplish is something like this....
I want to get some info about an Ad from Server and store that info on my PC and then display that info in the form of Ad on dialog box. Also the Ad should rotate.
Can AdRotator Control which is used on Web Form can be used on Dialog box.
Or is there any other similar control that can display information which will keep rotating.
Thanks in advance.
|
|
|
|
|
Hi all..
Well, as in the subject: how can I control the frame rate of a video in DirectShow?
I am using DirectShow to play a video and blend a rectangle that moves along the video, which positions are stored in an array. I use SetTimer() to change the rectangle's position, but it seems that the timepoint in the timer doesn't match the frame rate of the video. So I'm thinking of controlling the frame rate of the video instead..
Thank you in advance...
-- modified at 7:20 Wednesday 21st March, 2007
-Houari
|
|
|
|
|
Hi,
I think you can use the FrameRate attribute to get the frame rate.
Siddharth
|
|
|
|
|
Hi
I know that function too... but it seems that it is not that easy to change the frame rate.
Perhaps I should change the question: how to control the frame rate using DirectShow?
thank you
-Houari
|
|
|
|
|
Why change the framerate? Wouldn't that change the motion of the video?
Since you have a "clock" already because you're playing video you shouldn't need to use a timer.
You can base your motion on the timestamp of each frame.
Mark
"Great job, team. Head back to base for debriefing and cocktails."
(Spottswoode "Team America")
|
|
|
|
|
Hi All,
I have some old project that implement some GUI in MFC.
I need to change one of the dialog in this GUI - and i found out that i can do it in very easy way in C#.
Can / How can i mix between those two language ? i want to do in in the easy way - but i don't want to write all the application in C# ... Someone have a idea ?
Thanks for any help.
|
|
|
|
|
Have a look at Managed C++
|
|
|
|
|
|
Yanshof wrote: What is it ?
go here [^]
|
|
|
|
|
Hi,
I have to hide a Dialog from my application in vc++.Which function i have to use???
Thank you.
Siddharth
|
|
|
|
|
siddharthsan wrote: I have to hide a Dialog from my application in vc++.
Then, why you are creating it ?
You can use ShowWindow(SW_HIDE) though.
|
|
|
|
|
Hi,
I dont want to hide the entire window instead of that I have to hide a dialog control...
Siddharth
|
|
|
|
|
this is the same function to use...
CButton* pButton = GetDlgItem(IDC_MY_BUTTON);
pButton->ShowWindow(SW_HIDE);
|
|
|
|
|
Thanks,
It's working but we have create instance for CWnd,
CWnd* pButton = GetDlgItem(IDC_MDGRPX1);
pButton->ShowWindow(SW_HIDE);
Siddharth
|
|
|
|
|
siddharthsan wrote: but we have create instance for CWnd,
CWnd* pButton = GetDlgItem(IDC_MDGRPX1);
pButton->ShowWindow(SW_HIDE);
Toxxct was saying same thing,
CButton* pButton = dynamic_cast<CButton*> (GetDlgItem(IDC_MY_BUTTON)); pButton->ShowWindow(SW_HIDE);
As window returned will be of type CButton in this, you need to use cast operator.
|
|
|
|
|
prasad_som wrote: As window returned will be of type CButton in this
actually, no. the GetDlgItem() function always returns a CWnd* , but thanks to polymorphism, every CWnd inherited classes, you don't need to cast explicitely.
however, and your code is good on this, I always prefer to explicitely type cast because the person who will re-read the code later can understand easily what we wanted to do there.
|
|
|
|