home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!olivea!isc-br!bunker!jdd
- From: jdd@bunker.shel.isc-br.com (Judy D. Daniluk)
- Newsgroups: comp.os.ms-windows.programmer.misc
- Subject: TIPS.HLP and Re: Can you change accelerator tables (summary)
- Message-ID: <20385@bunker.shel.isc-br.com>
- Date: 9 Sep 92 13:09:14 GMT
- Organization: Olivetti Advanced Financial Development (Shelton, CT)
- Lines: 39
-
- I posted before to ask about changing accelerator tables during an
- application, and in particular about using multiple accelerator tables
- to correspond to the multiple types of children in an MDI application.
-
- One of the replies pointed me to the file TIPS.HLP in the MS C/C++ bin
- directory. It is a WinHelp file with answers to lots of common
- programming questions. I didn't know about it, and I suspect a lot
- of other people didn't, either.
-
- Now, about those accelerator tables...
-
- In my posting, I said that MFC appeared to have a mechanism to handle
- multiple accelerator tables for MDI, but it didn't work the way I
- wanted. Right after I posted, I found the bugs in my code that were
- preventing it from working. All you have to do to use it is load an
- accelerator table for the MDI child window. The rest is handled by the
- MFC code. (I have since figured out how to implement the same mechanism
- in C, if anyone is interested.)
-
- And of course, as soon as I answered my own question, the replies
- started pouring in ...
-
- Brian Goble (goble@u.washington.edu) told me about TIPS.HLP. It
- includes a section on dynamic accelerator tables.
-
- Jeff Dean (jeff@igc.apc.org) suggested using my own key table
- instead of the built-in accelerator table mechanism. This is roughly
- equivalent to the solution in TIPS.HLP.
-
- Robert (heath@grok39.columbiasc.ncr.com) suggested that there was some
- sample code for dynamic accelerators with the Win 3.1 SDK. I believe
- this is the same as what is in TIPS.HLP.
-
- Thanks to Brian, Jeff, and Robert, and my apologies to the AFX group.
-
-
- Judy Daniluk
- Olivetti Advanced Finance Development
- jdd@oliafd.shel.isc-br.com
-