| | |
Understanding filters - help
Please support our C++ advertiser: Intel Parallel Studio Home
![]() |
Hi,
Can anyone explain to me be basic functionality of a filter in MS Visual C++ ? I need to use one to check the database for a file name; if the file name exists in the database, alert the program user that the file has already been uploaded to the database, if not, add the file name to the database along with an autonumber ID. The boss was suggesting that I use a filter, so i just wanted to get a basic undown on the things from the best ppl i know. Thx in advance.
Can anyone explain to me be basic functionality of a filter in MS Visual C++ ? I need to use one to check the database for a file name; if the file name exists in the database, alert the program user that the file has already been uploaded to the database, if not, add the file name to the database along with an autonumber ID. The boss was suggesting that I use a filter, so i just wanted to get a basic undown on the things from the best ppl i know. Thx in advance.
As far as I understand it (having rarely ever used VC++), a filter is MS's way of providing hooks into the application's main Window Procedure (which contains the top-level event loop) in order to process specific messages. Here's a useful page I googled.
You will need to use RegisterWindowMessage to define your special message, and then use the filter to catch it.
Hope this was what you were looking for.
You will need to use RegisterWindowMessage to define your special message, and then use the filter to catch it.
Hope this was what you were looking for.
![]() |
Similar Threads
- Key word question (Search Engine Optimization)
- Office XP/2002 Access not filtering (MS Access and FileMaker Pro)
Other Threads in the C++ Forum
- Previous Thread: about reference of a instance in class
- Next Thread: Random number doesn't change when I run it
| Thread Tools | Search this Thread |
api array arrays based beginner binary bitmap c++ c/c++ calculator char class classes code compile compiler console conversion count delete deploy desktop directshow dll download dynamic dynamiccharacterarray encryption error file forms fstream function functions game getline givemetehcodez google graph gui homeworkhelp homeworkhelper iamthwee ifstream input int integer java lib linkedlist linker linux list loop looping loops map math matrix memory news node output parameter pointer problem program programming project proxy python read recursion recursive reference return rpg string strings struct temperature template templates test text text-file tree unix url variable vector video visual visualstudio win32 windows winsock word wordfrequency wxwidgets






