|
|
| Chien_Andalusia |
Posted: Feb 20 2003, 12:31 AM |
 |
|
Unregistered

|
I'm not sure if this is the right forum, but here we go anyway. I am in the process of developing a number of VirtualDub filters. In one of the filters I want a dialog box to open when a filter is selected from the menu within VirtualDub. In the dialog box I want a single text line where a user can type in some string. Once the "ok" button is pressed the string is stored to a variable. Another possibility is for a dialog box to open up and request a user to select (for example) a text file by clicking a browse button and selecting the files in question by browsing the computer. I would like to be able to store the file path to a variable. Finally ,while a video and a filter are selected within VirtualDub, is it possible for that filter to output data onto a pop-up dialog box as the video is playing? If so how would I go about it? I have tried the example of reading user input contained in the SDK and have created a dialog box with check boxes that alters a video differently depending which box is checked. The trouble is my knowledge when it comes to all matters MFC are poor to say the best and I would not know how to make simple modifications to allow for different types of user input. I have visited MSDN and have ended up pretty confused. I can "draw" various dialog boxes from within Visual C++ without much problem at all. The problem arises when it comes to coding them (if you pardon the expression) to do "stuff". I just hope I'm making some sense to someone out there and if anybody could possibly help me with any of my problems in some small way I would be very grateful. |
 |
| fccHandler |
| Posted: Feb 20 2003, 02:19 AM |
 |
|
Administrator n00b
  
Group: Moderators
Posts: 3961
Member No.: 280
Joined: 13-September 02

|
I'm totally confused by MFC myself. Have you tried regular old C++?
I'm afraid your questions are a bit too general. It's true that MSDN is the best resource for everything related to Windows programming, but it would probably help you a lot just to download other people's filter source code and see how they do their "stuff."
-------------------- May the FOURCC be with you... |
 |
| Chien_Andalusia |
| Posted: Feb 22 2003, 03:37 PM |
 |
|
Unregistered

|
So how do you make a dialog box pop up in regular old C++. If that is all I have to do then I will be rather happy. |
 |
| Kippesoep |
| Posted: Feb 22 2003, 06:15 PM |
 |
|
Moderator of the Virtualdub support forum
  
Group: Moderators
Posts: 447
Member No.: 441
Joined: 6-October 02

|
Design your dialog box using the dialog box editor and call the "DialogBox" function using the appropriate parameters. You can find the necessary info in MSDN. |
 |
| Chien_Andalusia |
| Posted: Feb 22 2003, 10:50 PM |
 |
|
Unregistered

|
Thanks for that link, I was looking in all the wrong places in MSDN it seems. I'll give it a shot. |
 |
| ChristianHJW |
| Posted: Feb 24 2003, 02:43 PM |
 |
|
Advanced Member
  
Group: Moderators
Posts: 1768
Member No.: 2
Joined: 7-July 02

|
Please allow me to welcome you here, a Virtualdub filter developer is always more than welcome here !!
-------------------- Visit the unofficial Virtualdub support forum on http://forums.virtualdub.org - help to reduce the big number of emails Avery Lee is getting every day !! Support matroska as container and Gstreamer as the only truely open, x-platform multimedia platform .... |
 |