home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.os.os2.programmer
- Path: sparky!uunet!elroy.jpl.nasa.gov!sdd.hp.com!wupost!darwin.sura.net!news.udel.edu!brahms.udel.edu!09872
- From: 09872@brahms.udel.edu (Chung-Ru Ho)
- Subject: WinSetHook, MsgFilterHook
- Message-ID: <BuLM53.1M1@news.udel.edu>
- Sender: usenet@news.udel.edu
- Nntp-Posting-Host: brahms.udel.edu
- Organization: University of Delaware
- Distribution: usa
- Date: Tue, 15 Sep 1992 02:41:27 GMT
- Lines: 21
-
- Could anyone give me some directions as how to use these two functions
- using an example or pointing me to a referecnce book? I have all the
- technical library books for development PM, though it has huge amount
- of info, but not very helpful in guiding me...
-
- I was trying to filter the events passed to a list box inside a modal
- dialog box (LN_SELECT). It looked like that I was able to set up all the
- functions correctly. But my problem came inside MsgFilterHook function because
- I don't know how to make use of its PQMSG parameter! Sometimes the hwnd
- parameter in this pQmsg was set to a negative number, is it possible?
- BTW, the declaration of the MsgFilterFunction was: (used for a dialog box)
-
- BOOL MsgFilterHook(HAB hab, PQMSG pQmsg, USHORT uContext);
-
- Any pointers are much appreciated!
-
-
- Tony Chou
- Quantum Development Corporation
- Claymont, DE 19703
-
-