View Full Version :
Filter menus and options
TelemachusMH
11th January 2002, 07:59
I would like to get as much information as I can about how virtualdub filter files are made and how virtualdub makes the gui menus for them. Does anyone know where to get information like this? :rolleyes: I am curious about learning that.
Thanks,
TelemachusMH
iluminati
11th January 2002, 16:01
There is a filter tutorial at the vdub homepage, http://www.virtualdub.org/downloads/filtsdk-1_04.zip
maybe this is what you're looking for.
TelemachusMH
11th January 2002, 21:32
Thanks for that, I will look at it. I would also like to say (because I don't think I was very clear about this), I would like to know how does virtualdub use the filters and create the gui windows for the options to be changed in? Are there gui definitions inside the filter, if so how can they be used to make the window?
bd
21st January 2002, 19:46
Hi,
Virtualdub filters uses dialog boxes etc. which are old windows type. You can learn these subjects from this book called Schildt's Windows 95 Programming in C and C++(Herbert Schildt, Osborne McGraw-Hill). For example,
Each dialog box that you define will need its own window function, which is generally called a dialog function.
BOOL CALLBACK DFunc(HWND hwnd, UINT message, WPARAM wParam, LPARAM lParam)
{ ... }
First, You must create a DialogBox from Insert->Resource->Dialog
Then You can add Tool(EditBox,Button, RadioButtun(Properties->ID IDC_RADIO1(Default) etc)This IDC_RADIO1 is called by DFunc as a message)...
If you want to obtain information, I can help you.
TelemachusMH
22nd January 2002, 19:15
:rolleyes: Accually I would love to learn more about it. I am not sure if I will be able to get the book that you recommended, but and web pages or other books would be great. Thanks for the help.
TelemachusMH
bd
23rd January 2002, 00:22
Hi,
I send you dialog box document and a filter example. I hope that you benefit from this document. You can find detailed documents in these books e.g. windows programming in C or C++ ,web pages e.g. www.codeguru.com or www.informit.com/free_library or http://cseng.aw.com, MSDN Library in Visual C++ 6.0)
I will also explain a subject:
The message will be received by the structure type MSG:
typedef struct tagMSG {
HWND hwnd;//window that message is for
UINT message;//message
WPARAM wParam;//message-dependet info
LPARAM lParam;// more message-dependet info
DWORD time;//time message posted
POINT pt;// X,Y location of mouse;
}MSG;
WPARAM-> UINT and LPARAM-> LONG
gabest
23rd January 2002, 00:58
I wonder why nobody is suggesting MFC, it would be hundered times easier and faster.
neuron2
23rd January 2002, 06:23
@gabest
If it's to develop VirtualDub filters, MFC would not be a good idea because each filter executable would be gigantic and Avery would have a heart attack. Definite overkill.
gabest
23rd January 2002, 06:35
That's not true, nobody would link mfc statically, you can find mfc42(u).dll in every windows.
TelemachusMH
24th January 2002, 19:15
Thanks for all the info, I've got a lot of reading to do ;). I just wanted to clarify one thing, I am not trying to make a new virtualdub filter, I want to be able to display the filters, that are already made, in a different program than virtualdub.
Thanks for the reading.
TelemachusMH
PS ... The attachment doesn't seem to be working.
Tasslehoff2
25th January 2002, 02:35
Does it matter which order to place the filters as I'd be using
Smart Deinterlacer -Don G. and smart resize. TIA
neuron2
25th January 2002, 04:11
Always deinterlace before resizing.
TelemachusMH
25th January 2002, 22:35
I have a bit of a confession to make. This is my first time trying to make any program that has a gui (other then text), and I don't really know much about it. So, I am having trouble finding the infomation, because I don't know if it is the information I need. What is the title that I should be looking for? Or are there dialog boxes just standard boxes for windows?
Thanks again, and parden my ignorance,
TelemachusMH
bd
26th January 2002, 09:53
Hi,
Excuse me for misunderstanding your subject. If you want to download a simple program(play sequence, Microsoft Foundation Classes(MFC) are used by this program), you can download from www.cs.umd.edu/~rgc/software/index.html
If you want to use MFC in your program, I suggest the book called MFC Programming from the Ground Up, Second Edition
by Herbert Schildt, www.osborne.com/programming_webdev/0078825733/0078825733.shtml or Sams Teach Yourself Visual C++ 6.0 in 21 Days.
Otherwise, I suggest the book called Windows 2000 Programming from the Ground Up by Herbert Schildt, www.osborne.com/programming_webdev/0072121890/0072121890.shtml
Thanks.
vBulletin® v3.8.4, Copyright ©2000-2009, Jelsoft Enterprises Ltd.